Correction
This commit is contained in:
parent
de37c01bfa
commit
6860325f96
@ -867,8 +867,11 @@ class FormProduct
|
||||
$productIdList = implode(',', $productIdArray);
|
||||
|
||||
$batch_count = 0;
|
||||
include_once DOL_DOCUMENT_ROOT . '/core/class/hookmanager.class.php';
|
||||
$hookmanager = new HookManager($this->db);
|
||||
global $hookmanager;
|
||||
if (empty($hookmanager)) {
|
||||
include_once DOL_DOCUMENT_ROOT . '/core/class/hookmanager.class.php';
|
||||
$hookmanager = new HookManager($this->db);
|
||||
}
|
||||
$hookmanager->initHooks(array('productdao'));
|
||||
$parameters = array('productIdList' => $productIdList);
|
||||
$reshook = $hookmanager->executeHooks('loadLotStock', $parameters, $this);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user