Browse Source

Fixes #1974.

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
6b7209cc42
  1. 2
      Nav.php

2
Nav.php

@ -202,7 +202,7 @@ class Nav extends Widget
unset($item['url']['#']);
if (count($item['url']) > 1) {
foreach (array_splice($item['url'], 1) as $name => $value) {
if (!isset($this->params[$name]) || $this->params[$name] != $value) {
if ($value !== null && (!isset($this->params[$name]) || $this->params[$name] != $value)) {
return false;
}
}

Loading…
Cancel
Save