From 1372eb778d3e624222262243c2ca2d693f56ec3a Mon Sep 17 00:00:00 2001 From: rGaillard Date: Wed, 26 Sep 2012 13:28:13 +0000 Subject: [PATCH] // small fix git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17568 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Customer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Customer.php b/classes/Customer.php index 6c4197c3c..d53924267 100644 --- a/classes/Customer.php +++ b/classes/Customer.php @@ -274,7 +274,7 @@ class CustomerCore extends ObjectModel Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'customer_message WHERE id_customer_thread='.(int)$ct['id_customer_thread']); } - Discount::deleteByIdCustomer((int)$this->id); + CartRule::deleteByIdCustomer((int)$this->id); return parent::delete(); }