Reset global value

This commit is contained in:
Michael RICOIS 2018-02-28 17:37:15 +01:00
parent 92415523d0
commit 45d340ac64

View File

@ -100,6 +100,9 @@ if ($result === false) {
}
// Send mail
else {
// Reset global value
$_LANGMAIL = array();
$isSent = Mail::Send($id_lang, 'loyalty_discount_reminder',
Mail::l('Your loyalty credits', $id_lang), $templateVars, $to,
$customerModel->firstname.' '.$customerModel->lastname);