diff --git a/public_html/lang/generate_lang_file.php b/public_html/lang/generate_lang_file.php index 1b2d30c2..e9aa9a72 100755 --- a/public_html/lang/generate_lang_file.php +++ b/public_html/lang/generate_lang_file.php @@ -318,6 +318,8 @@ foreach($data as $key => $val) { if ($copyoriginalvalue && $val=="") { $val=$key; } + $key=str_replace('"','\\"',$key); + $val=str_replace('"','\\"',$val); if ($additionalfileformat) { print "\$GLOBALS['LSlang'][\"$key\"] = \"$val\";\n"; }