From 82f4c7dafd857a02f5d1167efde8f1d91a245070 Mon Sep 17 00:00:00 2001 From: rGaillard Date: Wed, 24 Oct 2012 14:31:25 +0000 Subject: [PATCH] // Should return null rather than 0 if there are no customizable products --- classes/Cart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Cart.php b/classes/Cart.php index 7c258a1ed..95d2cb609 100644 --- a/classes/Cart.php +++ b/classes/Cart.php @@ -488,7 +488,7 @@ class CartCore extends ObjectModel 'p.`id_product` = cu.`id_product` AND cp.`id_product_attribute` = cu.id_product_attribute AND cu.id_cart='.(int)$this->id); } else - $sql->select('0 AS customization_quantity, 0 AS id_customization'); + $sql->select('NULL AS customization_quantity, NULL AS id_customization'); if (Combination::isFeatureActive()) {