diff --git a/modules/loyalty/bin/reminder.php b/modules/loyalty/bin/reminder.php index 42da6b77..c3c1bc48 100644 --- a/modules/loyalty/bin/reminder.php +++ b/modules/loyalty/bin/reminder.php @@ -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);