diff --git a/framework/yii/widgets/Menu.php b/framework/yii/widgets/Menu.php index 1d36460..8bf845e 100644 --- a/framework/yii/widgets/Menu.php +++ b/framework/yii/widgets/Menu.php @@ -250,7 +250,7 @@ class Menu extends Widget } $hasActiveChild = false; if (isset($item['items'])) { - $items[$i]['items'] = $this->normalizeItems($item['items'], $route, $hasActiveChild); + $items[$i]['items'] = $this->normalizeItems($item['items'], $hasActiveChild); if (empty($items[$i]['items']) && $this->hideEmptyItems) { unset($items[$i]['items']); if (!isset($item['url'])) {