Fix missing parameters

This commit is contained in:
Laurent Destailleur 2017-06-12 14:54:03 +02:00
parent d7cbb598c1
commit 279e6ab304
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ class box_produits extends ModeleBoxes
// Add where from hooks
if (is_object($hookmanager))
{
$parameters=array();
$parameters=array('boxproductlist'=>1);
$reshook=$hookmanager->executeHooks('printFieldListWhere',$parameters); // Note that $action and $object may have been modified by hook
$sql.=$hookmanager->resPrint;
}

View File

@ -92,7 +92,7 @@ class box_produits_alerte_stock extends ModeleBoxes
// Add where from hooks
if (is_object($hookmanager))
{
$parameters=array();
$parameters=array('boxproductalertstocklist'=>1);
$reshook=$hookmanager->executeHooks('printFieldListWhere',$parameters); // Note that $action and $object may have been modified by hook
$sql.=$hookmanager->resPrint;
}