Browse Source

Merge pull request #773 from yiidevelop/patch-3

Fix function argument
tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
a93f1ccea6
  1. 2
      framework/yii/widgets/Menu.php

2
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'])) {

Loading…
Cancel
Save