Fix: missing hook parameter
This commit is contained in:
parent
26495fb698
commit
233ad2945c
@ -6186,7 +6186,7 @@ class Form
|
|||||||
|
|
||||||
// Can complete the possiblelink array
|
// Can complete the possiblelink array
|
||||||
$hookmanager->initHooks(array('commonobject'));
|
$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
|
$reshook=$hookmanager->executeHooks('showLinkToObjectBlock',$parameters,$object,$action); // Note that $action and $object may have been modified by hook
|
||||||
if (empty($reshook))
|
if (empty($reshook))
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user