[-] Classes : fixed notice error on Cart class

This commit is contained in:
aFolletete
2011-12-06 08:54:07 +00:00
parent 728ff4863b
commit 595a49631f
+1 -1
View File
@@ -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;