Merge remote-tracking branch 'origin/ticket/r15224-balises'

This commit is contained in:
Michael RICOIS 2018-01-17 17:49:30 +01:00
commit 3a5aed3c7f

View File

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