From d993fba6a06a4514f07578b4363befdb689ea688 Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Thu, 22 Dec 2011 12:43:31 +0000 Subject: [PATCH] // Replacing some "4 spaces" by a unique tabulation --- classes/CartRule.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/CartRule.php b/classes/CartRule.php index ca13f3099..e660115f9 100644 --- a/classes/CartRule.php +++ b/classes/CartRule.php @@ -151,12 +151,12 @@ class CartRuleCore extends ObjectModel } public static function getCustomerCartRules($id_lang, $id_customer, $active = false, $includeGeneric = true, $inStock = false, Cart $cart = null) - { + { if (!CartRule::isFeatureActive()) return array(); $result = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS(' - SELECT * + SELECT * FROM `'._DB_PREFIX_.'cart_rule` cr LEFT JOIN `'._DB_PREFIX_.'cart_rule_lang` crl ON (cr.`id_cart_rule` = crl.`id_cart_rule` AND crl.`id_lang` = '.(int)$id_lang.') WHERE (