Commit a93f1cce by Qiang Xue

Merge pull request #773 from yiidevelop/patch-3

Fix function argument
parents 3450a6c5 23dfd13e
...@@ -250,7 +250,7 @@ class Menu extends Widget ...@@ -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'])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment