[-] MO blocktopmenu : fixed bug when editing links labels with special characters

This commit is contained in:
montes
2014-08-22 15:21:41 +02:00
parent 3533611d69
commit 7a56e67fbf
+5
View File
@@ -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'];