[-] BO & FO & MO : #PSCFI-4237 : adding id_lang in method l() of class Mail()

This commit is contained in:
lLefevre
2011-12-05 17:22:47 +00:00
parent 8167ef6f50
commit 1c32791fa0
16 changed files with 32 additions and 32 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ if (Tools::getValue('action') == 'sendToMyFriend' AND
/* Email sending */
if (!Mail::Send((int)Context::getContext()->cookie->id_lang,
'send_to_a_friend',
Mail::l('A friend sent you a link to').' '.$product->name,
Mail::l('A friend sent you a link to', (int)Context::getContext()->cookie->id_lang).' '.$product->name,
$templateVars, $friendMail,
NULL,
(Context::getContext()->cookie->email ? Context::getContext()->cookie->email : NULL),