[-] MO : blocktopmenu - Fix htmldecode on link edit
This commit is contained in:
+2
-3
@@ -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'];
|
||||||
|
|||||||
Reference in New Issue
Block a user