[-] Classes : fixed notice error on Cart class
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10962 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
5788f1f811
commit
0d65bf62b2
1 file changed
+1
-1
+1
-1
@@ -787,7 +787,7 @@ class CartCore extends ObjectModel
|
|||||||
{
|
{
|
||||||
if ($operator == 'up')
|
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
|
FROM '._DB_PREFIX_.'product p
|
||||||
'.Product::sqlStock('p', $id_product_attribute, true, $shop).'
|
'.Product::sqlStock('p', $id_product_attribute, true, $shop).'
|
||||||
WHERE p.id_product = '.$id_product;
|
WHERE p.id_product = '.$id_product;
|
||||||
|
|||||||
Reference in new issue
Block a user