// When mail object are not translated, now use the default object

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17260 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2012-09-10 09:11:36 +00:00
parent 972d70011d
commit 6494b47f05
+1 -1
View File
@@ -325,7 +325,7 @@ class MailCore
if (!is_array($_LANGMAIL))
return (str_replace('"', '"', $string));
if (array_key_exists($key, $_LANGMAIL))
if (array_key_exists($key, $_LANGMAIL) && !empty($_LANGMAIL[$key]))
$str = $_LANGMAIL[$key];
else
$str = $string;