From cf2bc874badf85b519ca3b90df304530f90becdf Mon Sep 17 00:00:00 2001 From: gRoussac Date: Thu, 31 Jan 2013 11:50:19 +0100 Subject: [PATCH] // forgot debug sorry --- classes/Customer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Customer.php b/classes/Customer.php index 2dfa23c3e..4d953a385 100644 --- a/classes/Customer.php +++ b/classes/Customer.php @@ -445,7 +445,7 @@ class CustomerCore extends ObjectModel LEFT JOIN `'._DB_PREFIX_.'state` s ON (s.`id_state` = a.`id_state`) '.(Context::getContext()->shop->getGroup()->share_order ? '' : Shop::addSqlAssociation('country', 'c')).' WHERE `id_lang` = '.(int)$id_lang.' AND `id_customer` = '.(int)$this->id.' AND a.`deleted` = 0'; - d($sql); + return Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS($sql); }