From ba8049264f76bbb8ed5e7f33f0845e0bc5e73b26 Mon Sep 17 00:00:00 2001 From: vChabot Date: Mon, 23 Apr 2012 13:45:23 +0000 Subject: [PATCH] [-] BO : BugFix : #PSTEST-1190 : email customer verification improved git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14817 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Customer.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/classes/Customer.php b/classes/Customer.php index db2088e0d..a0e790211 100644 --- a/classes/Customer.php +++ b/classes/Customer.php @@ -266,8 +266,7 @@ class CustomerCore extends ObjectModel $sql = 'SELECT * FROM `'._DB_PREFIX_.'customer` - WHERE `active` = 1 - AND `email` = \''.pSQL($email).'\' + WHERE `email` = \''.pSQL($email).'\' '.Shop::addSqlRestriction(Shop::SHARE_CUSTOMER).' '.(isset($passwd) ? 'AND `passwd` = \''.Tools::encrypt($passwd).'\'' : '').' AND `deleted` = 0