// StockManager: fixed
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11408 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -232,6 +232,7 @@ class StockManagerCore implements StockManagerInterface
|
|||||||
return $return;
|
return $return;
|
||||||
|
|
||||||
$stock_collection = $this->getStockCollection($id_product, $id_product_attribute, $warehouse->id);
|
$stock_collection = $this->getStockCollection($id_product, $id_product_attribute, $warehouse->id);
|
||||||
|
$stock_collection->getAll();
|
||||||
|
|
||||||
// check if the collection is loaded
|
// check if the collection is loaded
|
||||||
if (count($stock_collection) <= 0)
|
if (count($stock_collection) <= 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user