Fix bad use of showLinkedObjectBlock
This commit is contained in:
parent
5231fbf1e3
commit
9abe0940e7
@ -2360,13 +2360,9 @@ else
|
|||||||
|
|
||||||
$somethingshown = $formfile->show_documents('user', $filename, $filedir, $urlsource, $genallowed, $delallowed, $object->modelpdf, 1, 0, 0, 28, 0, '', 0, '', $soc->default_lang);
|
$somethingshown = $formfile->show_documents('user', $filename, $filedir, $urlsource, $genallowed, $delallowed, $object->modelpdf, 1, 0, 0, 28, 0, '', 0, '', $soc->default_lang);
|
||||||
|
|
||||||
// Linked object block
|
|
||||||
$somethingshown = $form->showLinkedObjectBlock($object);
|
|
||||||
|
|
||||||
// Show links to link elements
|
// Show links to link elements
|
||||||
$linktoelem = $form->showLinkToObjectBlock($object);
|
$linktoelem = $form->showLinkToObjectBlock($object, null, null);
|
||||||
if ($linktoelem) print '<br>'.$linktoelem;
|
$somethingshown = $form->showLinkedObjectBlock($object, $linktoelem);
|
||||||
|
|
||||||
|
|
||||||
print '</div><div class="fichehalfright"><div class="ficheaddleft">';
|
print '</div><div class="fichehalfright"><div class="ficheaddleft">';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user