diff --git a/htdocs/commande/list.php b/htdocs/commande/list.php index 0323bd4ec09ecb494a4c9637f3008dacf131e140..9487001f79b51585455022a8a9512699623045e4 100644 --- a/htdocs/commande/list.php +++ b/htdocs/commande/list.php @@ -312,13 +312,13 @@ if ($resql) $moreforfilter.=$form->selectarray('search_product_category', $cate_arbo, $search_product_category, 1, 0, 0, '', 0, 0, 0, 0, '', 1); $moreforfilter.='</div>'; } + $parameters=array(); + $reshook=$hookmanager->executeHooks('printFieldPreListTitle',$parameters); // Note that $action and $object may have been modified by hook + $moreforfilter .= $hookmanager->resPrint; if (! empty($moreforfilter)) { print '<div class="liste_titre liste_titre_bydiv centpercent">'; print $moreforfilter; - $parameters=array(); - $reshook=$hookmanager->executeHooks('printFieldPreListTitle',$parameters); // Note that $action and $object may have been modified by hook - print $hookmanager->resPrint; print '</div>'; }