diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 3eeb76ba1e6..6958ec34fe9 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -6186,7 +6186,7 @@ class Form // Can complete the possiblelink array $hookmanager->initHooks(array('commonobject')); - $parameters=array(); + $parameters=array('listofidcompanytoscan' => $listofidcompanytoscan); $reshook=$hookmanager->executeHooks('showLinkToObjectBlock',$parameters,$object,$action); // Note that $action and $object may have been modified by hook if (empty($reshook)) {