// Fix the encoding error when import tabs translations

This commit is contained in:
lLefevre
2012-06-15 14:13:19 +00:00
parent 54675df666
commit 3c41ce11d4
@@ -542,7 +542,7 @@ class AdminTranslationsControllerCore extends AdminController
if (isset($tab->class_name) && !empty($tab->class_name)) if (isset($tab->class_name) && !empty($tab->class_name))
{ {
$id_lang = Language::getIdByIso($iso_code); $id_lang = Language::getIdByIso($iso_code);
$tab->name[(int)$id_lang] = pSQL($translations); $tab->name[(int)$id_lang] = pSQL(utf8_encode($translations));
// Update this tab // Update this tab
$tab->update(); $tab->update();