// Context
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7600 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -186,8 +186,8 @@ class ReferralProgramModule extends ObjectModel
|
||||
{
|
||||
if (empty($email) OR !Validate::isEmail($email))
|
||||
die (Tools::displayError('Email invalid.'));
|
||||
// $return_id = false, $ignoreGuest = true, $id_group_shop = false, $id_shop = false
|
||||
if ($checkCustomer === true AND Customer::customerExists($email, false, true, (int)Shop::getCurrentGroupShop(), (int)Shop::getCurrentShop()))
|
||||
|
||||
if ($checkCustomer === true AND Customer::customerExists($email))
|
||||
return false;
|
||||
$result = Db::getInstance()->getRow('
|
||||
SELECT s.`id_referralprogram`
|
||||
|
||||
Reference in New Issue
Block a user