// 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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user