// StockManager: fixed

This commit is contained in:
bMancone committed 2011-12-20 13:51:05 +00:00
1 parent 1755c45075
commit 264df69783
1 file changed
+1
+1
View File
@@ -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)