diff --git a/htdocs/product/stock/list.php b/htdocs/product/stock/list.php index 361052bb27c..a2f3da7abf0 100644 --- a/htdocs/product/stock/list.php +++ b/htdocs/product/stock/list.php @@ -255,7 +255,7 @@ if (! empty($extrafields->attributes[$object->table_element]['label'])) { } // Add where from hooks $parameters=array(); -$reshook=$hookmanager->executeHooks('printFieldListGroupBy',$parameters); // Note that $action and $object may have been modified by hook +$reshook=$hookmanager->executeHooks('printFieldListGroupBy', $parameters); // Note that $action and $object may have been modified by hook $sql.=$hookmanager->resPrint; $sql=preg_replace('/,\s*$/', '', $sql); $totalnboflines = 0;