From 7a56e67fbf291b651e87e85825ca0256ca58d892 Mon Sep 17 00:00:00 2001 From: montes Date: Fri, 22 Aug 2014 15:21:41 +0200 Subject: [PATCH] [-] MO blocktopmenu : fixed bug when editing links labels with special characters --- blocktopmenu.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/blocktopmenu.php b/blocktopmenu.php index eb43c8a..722abc0 100644 --- a/blocktopmenu.php +++ b/blocktopmenu.php @@ -1232,6 +1232,11 @@ class Blocktopmenu extends Module if (Tools::isSubmit('updatelinksmenutop')) { $link = MenuTopLinks::getLinkLang(Tools::getValue('id_linksmenutop'), (int)Shop::getContextShopID()); + + array_walk($link['label'], function(&$value) { + $value = Tools::htmlentitiesDecodeUTF8($value); + }); + $links_label_edit = $link['link']; $labels_edit = $link['label']; $new_window_edit = $link['new_window'];