forked from Wavyzz/dolibarr
Rewrite code to prepare refactoring
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user