2
0
forked from Wavyzz/dolibarr

Rewrite code to prepare refactoring

This commit is contained in:
Laurent Destailleur
2024-10-26 15:24:54 +02:00
parent b95c6d4558
commit f5e4ab0220
45 changed files with 190 additions and 63 deletions

View File

@@ -618,7 +618,11 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
}
// Show links to link elements
$linktoelem = $form->showLinkToObjectBlock($object, array(), array('myobject'));
$tmparray = $form->showLinkToObjectBlock($object, array(), array('myobject'), 1);
$linktoelem = $tmparray['linktoelem'];
$htmltoenteralink = $tmparray['htmltoenteralink'];
print $htmltoenteralink;
$somethingshown = $form->showLinkedObjectBlock($object, $linktoelem);