mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-18 15:31:06 +08:00
@@ -250,7 +250,7 @@ class Menu extends Widget
|
|||||||
}
|
}
|
||||||
$hasActiveChild = false;
|
$hasActiveChild = false;
|
||||||
if (isset($item['items'])) {
|
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) {
|
if (empty($items[$i]['items']) && $this->hideEmptyItems) {
|
||||||
unset($items[$i]['items']);
|
unset($items[$i]['items']);
|
||||||
if (!isset($item['url'])) {
|
if (!isset($item['url'])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user