Adding filter parameters

Adding filter parameters in addMoreActionsButtonsList Hook
This commit is contained in:
Quentin-Seekness 2022-12-13 11:26:53 +01:00 committed by GitHub
parent 76d5309c17
commit d98c998b8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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');