Merge pull request #21115 from rycks/15_fix_collectormail_hookmanager
emailcollector : hookmanager is null
This commit is contained in:
commit
b3d5258596
@ -2009,6 +2009,7 @@ class EmailCollector extends CommonObject
|
||||
'object' => 'Mo'),
|
||||
);
|
||||
|
||||
global $hookmanager;
|
||||
$hookmanager->initHooks(array('emailcolector'));
|
||||
$parameters = array('arrayobject' => $arrayobject);
|
||||
$reshook = $hookmanager->executeHooks('addmoduletoeamailcollectorjoinpiece', $parameters); // Note that $action and $object may have been modified by some hooks
|
||||
|
||||
Loading…
Reference in New Issue
Block a user