// Little fix
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13107 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -1755,7 +1755,7 @@ class AdminTranslationsControllerCore extends AdminController
|
||||
$str_output = '';
|
||||
|
||||
if (!Validate::isLangIsoCode($lang))
|
||||
die('Invalid iso lang ('.$lang.')');
|
||||
die('Invalid iso lang ('.Tools::safeOutput($lang).')');
|
||||
|
||||
$i18n_dir = _PS_THEME_DIR_.'pdf/lang/';
|
||||
$i18n_file = $i18n_dir.$lang.'.php';
|
||||
|
||||
Reference in New Issue
Block a user