// Fixed #PSTEST-456

This commit is contained in:
bMancone
2012-01-24 17:22:49 +00:00
parent 39fb3fed96
commit 75f104de38
5 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -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;
}