From 3b075e049bc25b3d069ea00f9a275eff1fb5e3c2 Mon Sep 17 00:00:00 2001 From: gRoussac Date: Mon, 23 Sep 2013 16:33:44 +0200 Subject: [PATCH] // bad commit --- classes/Cart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Cart.php b/classes/Cart.php index 83d4b8be0..71b9eaee4 100644 --- a/classes/Cart.php +++ b/classes/Cart.php @@ -497,7 +497,7 @@ class CartCore extends ObjectModel p.`upc` AS upc, product_shop.`minimal_quantity` AS minimal_quantity' ); $result = Db::getInstance()->executeS($sql); -d($result); + // Reset the cache before the following return, or else an empty cart will add dozens of queries $products_ids = array(); $pa_ids = array();