Update html.form.class.php

This commit is contained in:
Laurent Destailleur 2023-03-18 02:35:31 +01:00 committed by GitHub
parent 645b0c563e
commit 926c99f913
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6782,12 +6782,12 @@ class Form
}
// Add where from hooks
$parameters = [
$parameters = array(
'object' => $objecttmp,
'htmlname' => $htmlname,
'filter' => $filter,
'searchkey' => $searchkey
];
);
$reshook = $hookmanager->executeHooks('selectForFormsListWhere', $parameters); // Note that $action and $object may have been modified by hook
if (!empty($hookmanager->resPrint)) {