// BugFix : Adding warehouse on order edition

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11214 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2011-12-14 16:19:05 +00:00
parent 6d99193df7
commit b48c20d1d5
9 changed files with 135 additions and 24 deletions
+1 -1
View File
@@ -304,7 +304,7 @@ class CustomerCore extends ObjectModel
FROM `'._DB_PREFIX_.'customer`
WHERE `email` = \''.pSQL($email).'\'
'.$shop->addSqlRestriction(Shop::SHARE_CUSTOMER).
($ignore_guest ? 'AND `is_guest` = 0' : '');
($ignore_guest ? ' AND `is_guest` = 0' : '');
$result = Db::getInstance()->getRow($sql);
if ($return_id)