Fix: Missing initialized value

This commit is contained in:
Laurent Destailleur 2014-04-12 01:45:18 +02:00
parent 80f1100bf9
commit 81ff0a8643

View File

@ -2599,6 +2599,7 @@ class Product extends CommonObject
function load_stock()
{
$this->stock_reel = 0;
$this->stock_warehouse = array();
$sql = "SELECT ps.reel, ps.fk_entrepot, ps.pmp";
$sql.= " FROM ".MAIN_DB_PREFIX."product_stock as ps";