// Fixed #PSTEST-456
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12656 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -166,7 +166,7 @@ abstract class HTMLTemplateCore
|
||||
if (!isset($_LANGPDF) OR !is_array($_LANGPDF))
|
||||
return str_replace('"', '"', $string);
|
||||
$key = md5(str_replace('\'', '\\\'', $string));
|
||||
$str = (key_exists('PDF_invoice'.$key, $_LANGPDF) ? $_LANGPDF['PDF_invoice'.$key] : $string);
|
||||
$str = (key_exists('PDF'.$key, $_LANGPDF) ? $_LANGPDF['PDF'.$key] : $string);
|
||||
|
||||
return $str;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user