fix hookmanager is null
This commit is contained in:
parent
6115461b30
commit
d15dee282e
@ -2008,6 +2008,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