Add parameters to hook

This commit is contained in:
atm-lena 2020-05-19 15:31:37 +02:00
parent 987fb806c6
commit 3f28c9a461

View File

@ -246,8 +246,21 @@ class FormProduct
if (!empty($fk_product)) $this->cache_warehouses = array();
$parameters = array(
'selected' => & $selected,
'htmlname' =>& $htmlname,
'filterstatus' =>& $filterstatus,
'empty' =>& $empty,
'disabled ' =>& $disabled,
'fk_product' =>& $fk_product,
'empty_label' =>& $empty_label,
'showstock' =>& $showstock,
'forcecombo' =>& $forcecombo,
'events' =>& $events,
'morecss' =>& $morecss,
'exclude' =>& $exclude,
'htmlname' =>& $htmlname
'showfullpath' =>& $showfullpath,
'stockMin' =>& $stockMin,
'orderBy' =>& $orderBy
);
$reshook = $hookmanager->executeHooks('selectWarehouses', $parameters);