diff --git a/Nav.php b/Nav.php index 42e6346..ef1dbb5 100644 --- a/Nav.php +++ b/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; } }