Adding filter parameters
Adding filter parameters in addMoreActionsButtonsList Hook
This commit is contained in:
parent
76d5309c17
commit
d98c998b8e
@ -874,7 +874,7 @@ if (count($filter)) {
|
||||
$buttonLabel = $langs->trans("ExportList");
|
||||
}
|
||||
|
||||
$parameters = array();
|
||||
$parameters = array('param' => $param);
|
||||
$reshook = $hookmanager->executeHooks('addMoreActionsButtonsList', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
|
||||
if ($reshook < 0) {
|
||||
setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user