Update list.php

This commit is contained in:
Gurvan Kervern 2021-08-18 17:50:10 +08:00 committed by GitHub
parent 66495f3a9d
commit 3cde9a27ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -672,9 +672,7 @@ if (empty($reshook)) {
}
$sql .= $hookmanager->resPrint;
// Add GroupBy from hooks
//removing PHP8 warnings
$all, = isset($all,) ? $all, : '';
$parameters = array('all' => $all, 'fieldstosearchall' => $fieldstosearchall);
$parameters = array('fieldstosearchall' => $fieldstosearchall);
$reshook = $hookmanager->executeHooks('printFieldListGroupBy', $parameters, $object); // Note that $action and $object may have been modified by hook
$sql .= $hookmanager->resPrint;