Skip to content
Snippets Groups Projects
Commit e1f97c00 authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: for add external linked objects

parent ebca3ed3
No related branches found
No related tags found
No related merge requests found
......@@ -1647,11 +1647,13 @@ function pdf_getLinkedObjects($object,$outputlangs,$hookmanager=false)
}
}
// For add external linked objects
if (is_object($hookmanager))
{
$parameters = array('linkedobjects' => $linkedobjects, 'outputlangs'=>$outputlangs);
$action='';
$hookmanager->executeHooks('pdf_getLinkedObjects',$parameters,$object,$action); // Note that $action and $object may have been modified by some hooks
if (! empty($hookmanager->resArray)) $linkedobjects = $hookmanager->resArray;
}
return $linkedobjects;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment