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 // Add where from hooks
$parameters = [ $parameters = array(
'object' => $objecttmp, 'object' => $objecttmp,
'htmlname' => $htmlname, 'htmlname' => $htmlname,
'filter' => $filter, 'filter' => $filter,
'searchkey' => $searchkey 'searchkey' => $searchkey
]; );
$reshook = $hookmanager->executeHooks('selectForFormsListWhere', $parameters); // Note that $action and $object may have been modified by hook $reshook = $hookmanager->executeHooks('selectForFormsListWhere', $parameters); // Note that $action and $object may have been modified by hook
if (!empty($hookmanager->resPrint)) { if (!empty($hookmanager->resPrint)) {