Reset global value
This commit is contained in:
parent
92415523d0
commit
45d340ac64
@ -100,6 +100,9 @@ if ($result === false) {
|
|||||||
}
|
}
|
||||||
// Send mail
|
// Send mail
|
||||||
else {
|
else {
|
||||||
|
// Reset global value
|
||||||
|
$_LANGMAIL = array();
|
||||||
|
|
||||||
$isSent = Mail::Send($id_lang, 'loyalty_discount_reminder',
|
$isSent = Mail::Send($id_lang, 'loyalty_discount_reminder',
|
||||||
Mail::l('Your loyalty credits', $id_lang), $templateVars, $to,
|
Mail::l('Your loyalty credits', $id_lang), $templateVars, $to,
|
||||||
$customerModel->firstname.' '.$customerModel->lastname);
|
$customerModel->firstname.' '.$customerModel->lastname);
|
||||||
|
Loading…
Reference in New Issue
Block a user