From 595a49631f1095ea0c745ad357dce2a38d84ccb3 Mon Sep 17 00:00:00 2001 From: aFolletete Date: Tue, 6 Dec 2011 08:54:07 +0000 Subject: [PATCH] [-] Classes : fixed notice error on Cart class --- classes/Cart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Cart.php b/classes/Cart.php index 110411770..8096bdfde 100644 --- a/classes/Cart.php +++ b/classes/Cart.php @@ -787,7 +787,7 @@ class CartCore extends ObjectModel { if ($operator == 'up') { - $sql = 'SELECT stock.out_of_stock, IFNULL(stock.quantity, 0) + $sql = 'SELECT stock.out_of_stock, IFNULL(stock.quantity, 0) as quantity FROM '._DB_PREFIX_.'product p '.Product::sqlStock('p', $id_product_attribute, true, $shop).' WHERE p.id_product = '.$id_product;