Update product.class.php
This commit is contained in:
parent
5654492ba8
commit
7e68d8df1b
@ -4144,7 +4144,7 @@ class Product extends CommonObject
|
|||||||
$parameters=array('id'=>$this->id);
|
$parameters=array('id'=>$this->id);
|
||||||
// Note that $action and $object may have been modified by some hooks
|
// Note that $action and $object may have been modified by some hooks
|
||||||
$reshook=$hookmanager->executeHooks('loadvirtualstock', $parameters, $this, $action);
|
$reshook=$hookmanager->executeHooks('loadvirtualstock', $parameters, $this, $action);
|
||||||
if ($reshook > 0) $this->stock_theorique+= $hookmanager->resPrint;
|
if ($reshook > 0) $this->stock_theorique = $hookmanager->resArray['stock_theorique'];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user