fix warnings 5

Removing PHP8 warnings
This commit is contained in:
Gurvan Kervern 2021-08-16 18:55:49 +08:00
parent 1bd7b4a439
commit 031e13d438

View File

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