From 233ad2945ce51ee3ad88e93d3e52c31d34dde09b Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 1 Jul 2018 20:03:08 +0200 Subject: [PATCH] Fix: missing hook parameter --- htdocs/core/class/html.form.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {