Merge pull request #7 from antoin-m/master

Fix ids of custom links
This commit is contained in:
Maxime Biloé
2016-12-13 17:24:46 +01:00
committed by GitHub
+1 -1
View File
@@ -666,7 +666,7 @@ class Ps_MainMenu extends Module implements WidgetInterface
}
$root_node['children'][] = $this->makeNode([
'type' => 'link',
'page_identifier' => $link[0]['link'],
'page_identifier' => 'lnk-' . Tools::str2url($link[0]['label']),
'label' => $link[0]['label'],
'url' => $link[0]['link'],
'open_in_new_window' => $link[0]['new_window']