sf4, fix error with index 'icon' in menu

This commit is contained in:
2020-08-03 12:34:11 +02:00
parent 43a975ae48
commit ec726ced19
2 changed files with 3 additions and 2 deletions

View File

@@ -115,7 +115,8 @@ class MenuComposer
'order' => $order
])
->setExtras([
'icon' => $route['icon'],
//'icon' => $route['icon'],
// sf4 check: commented to avoid error: `An exception has been thrown during the rendering of a template ("Notice: Undefined index: icon").`
'order' => $order
])
;