From 59fd81a2e252b51171a26e7e49e8fc45c7f99336 Mon Sep 17 00:00:00 2001 From: bMancone Date: Tue, 20 Dec 2011 13:51:05 +0000 Subject: [PATCH] // StockManager: fixed git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11408 b9a71923-0436-4b27-9f14-aed3839534dd --- 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)