From 45d340ac644fe22aaefac58ab5dabc6e0892a568 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Wed, 28 Feb 2018 17:37:15 +0100 Subject: [PATCH] Reset global value --- modules/loyalty/bin/reminder.php | 3 +++ 1 file changed, 3 insertions(+) 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);