From e33326c990cd7484244daaca4736dfe8955b5f62 Mon Sep 17 00:00:00 2001 From: bMancone Date: Tue, 20 Dec 2011 13:51:05 +0000 Subject: [PATCH] // StockManager: fixed --- classes/stock/StockManager.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/stock/StockManager.php b/classes/stock/StockManager.php index dfd22b4db..c8118cd64 100644 --- a/classes/stock/StockManager.php +++ b/classes/stock/StockManager.php @@ -232,6 +232,7 @@ class StockManagerCore implements StockManagerInterface return $return; $stock_collection = $this->getStockCollection($id_product, $id_product_attribute, $warehouse->id); + $stock_collection->getAll(); // check if the collection is loaded if (count($stock_collection) <= 0)