[-] MO : blocktopmenu - Fix htmldecode on link edit

This commit is contained in:
Thibaud Chauviere
2014-09-08 09:40:13 +02:00
parent 17f1775fa7
commit fa8848d7a8
+2 -3
View File
@@ -1233,9 +1233,8 @@ class Blocktopmenu extends Module
{ {
$link = MenuTopLinks::getLinkLang(Tools::getValue('id_linksmenutop'), (int)Shop::getContextShopID()); $link = MenuTopLinks::getLinkLang(Tools::getValue('id_linksmenutop'), (int)Shop::getContextShopID());
array_walk($link['label'], function(&$value) { foreach ($link['link'] as $key => $label)
$value = Tools::htmlentitiesDecodeUTF8($value); $link['link'][$key] = Tools::htmlentitiesDecodeUTF8($label);
});
$links_label_edit = $link['link']; $links_label_edit = $link['link'];
$labels_edit = $link['label']; $labels_edit = $link['label'];