// small fix
This commit is contained in:
1 parent
04d982fd48
commit
3f90d9edbc
1 file changed
+1
-1
+1
-1
@@ -3087,7 +3087,7 @@ class CartCore extends ObjectModel
|
||||
SELECT *
|
||||
FROM '._DB_PREFIX_.'cart c
|
||||
WHERE c.`id_customer` = '.(int)$id_customer.'
|
||||
'.(!$with_order ? 'AND id_cart NOT IN (SELECT id_cart FROM '._DB_PREFIX_.'orders o WHERE o.`id_customer` = '.(int)$id_customer.')' : '').'
|
||||
'.(!$with_order ? 'AND id_cart NOT IN (SELECT id_cart FROM '._DB_PREFIX_.'orders o)' : '').'
|
||||
ORDER BY c.`date_add` DESC');
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user