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

This commit is contained in:
lLefevre
2012-09-10 09:11:36 +00:00
parent ce3a892381
commit f900b82e5f
+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;