// Fix the encoding error when import tabs translations

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16036 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2012-06-15 14:13:19 +00:00
parent 788364120e
commit d04c50ce77
@@ -542,7 +542,7 @@ class AdminTranslationsControllerCore extends AdminController
if (isset($tab->class_name) && !empty($tab->class_name))
{
$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
$tab->update();