fix #23099 : pass massaction to hook instead of action
This commit is contained in:
parent
931fe92148
commit
118787934c
@ -197,7 +197,7 @@ $parameters = array(
|
||||
'uploaddir' => isset($uploaddir) ? $uploaddir : null
|
||||
);
|
||||
|
||||
$reshook = $hookmanager->executeHooks('doPreMassActions', $parameters, $object, $action);
|
||||
$reshook = $hookmanager->executeHooks('doPreMassActions', $parameters, $object, $massaction);
|
||||
if ($reshook < 0) {
|
||||
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user