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

@@ -760,7 +760,10 @@ if ($id > 0 || !empty($ref)) {
print $formfile->showdocuments('project_task', $filename, $filedir, $urlsource, $genallowed, $delallowed, $object->model_pdf);
// Show links to link elements
$linktoelem = $form->showLinkToObjectBlock($object, null, array('project_task'));
$tmparray = $form->showLinkToObjectBlock($object, array(), array('project_task'), 1);
$linktoelem = $tmparray['linktoelem'];
$htmltoenteralink = $tmparray['htmltoenteralink'];
print $htmltoenteralink;
$compatibleImportElementsList = false;
$somethingshown = $form->showLinkedObjectBlock($object, $linktoelem, $compatibleImportElementsList);