This commit is contained in:
Michael RICOIS 2018-01-17 17:48:37 +01:00
parent 18f7642e3d
commit e9b0ef0dae

View File

@ -15,7 +15,7 @@ if(($sponsor = Tools::getValue('sponsor')) && strlen($sponsor) > 12) {
$isExist = Db::getInstance()->ExecuteS('
SELECT `id_customer` FROM `'._DB_PREFIX_.'customer`
WHERE `email` = "'.pSQL($email).'"');
if(count($isExist) > 0) {
if(true || count($isExist) > 0) {
if(Configuration::get('PS_CIPHER_ALGORITHM')) {
$cipherTool = new Rijndael(_RIJNDAEL_KEY_, _RIJNDAEL_IV_);
} else {
@ -63,7 +63,8 @@ if(($sponsor = Tools::getValue('sponsor')) && strlen($sponsor) > 12) {
if ($k == 'lp') {
continue;
}
$query = '&'.$k.'='.$v;
echo $k.'<br/>';
$query.= '&'.$k.'='.$v;
}
}