Merge pull request #1044 from prestamodule/development

Mail translation methods fix & template translation fix
This commit is contained in:
Jérôme Nadaud
2013-11-28 00:08:54 -08:00
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -372,11 +372,11 @@ class MailCore
$file_core = _PS_ROOT_DIR_.'/mails/'.$iso_code.'/lang.php';
if (Tools::file_exists_cache($file_core) && empty($_LANGMAIL))
include_once($file_core);
include($file_core);
$file_theme = _PS_THEME_DIR_.'mails/'.$iso_code.'/lang.php';
if (Tools::file_exists_cache($file_theme))
include_once($file_theme);
include($file_theme);
if (!is_array($_LANGMAIL))
return (str_replace('"', '"', $string));