diff --git a/src/View/Helper/MenuHelper.php b/src/View/Helper/MenuHelper.php index 86e98cc..191ea0a 100644 --- a/src/View/Helper/MenuHelper.php +++ b/src/View/Helper/MenuHelper.php @@ -572,7 +572,7 @@ protected function _findCurrentItem(ItemInterface $item, MatcherInterface $match protected function _addMenu(ItemInterface $menu, array $options): void { $this->_menus[$menu->getName()] = $menu; - $this->_menuConfigurations->attach($menu, $options); + $this->_menuConfigurations[$menu] = $options; } /**