From 3cde9a27abf31f9f424f3d0b4bb49b6236df9050 Mon Sep 17 00:00:00 2001 From: Gurvan Kervern Date: Wed, 18 Aug 2021 17:50:10 +0800 Subject: [PATCH] Update list.php --- htdocs/societe/list.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/htdocs/societe/list.php b/htdocs/societe/list.php index cb5dc4500ca..160440c2394 100644 --- a/htdocs/societe/list.php +++ b/htdocs/societe/list.php @@ -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;