Fix: missing empty $object
This commit is contained in:
parent
b9e0879847
commit
a213a5d5fd
@ -46,7 +46,7 @@ $hookmanager->initHooks(array('adminldap','globaladmin'));
|
||||
*/
|
||||
|
||||
$parameters=array();
|
||||
$reshook=$hookmanager->executeHooks('doActions',$parameters,'',$action); // Note that $action and $object may have been modified by some hooks
|
||||
$reshook=$hookmanager->executeHooks('doActions',$parameters,$object,$action); // Note that $action and $object may have been modified by some hooks
|
||||
if ($reshook < 0) setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
||||
|
||||
if (empty($reshook))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user