From 6cd480ee4ab98831e931145b37fc0d6aea15b0c8 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Mon, 17 Feb 2014 19:52:32 +0100 Subject: [PATCH] removed unnecessary call to Html::url() fixes #2466 --- Nav.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nav.php b/Nav.php index 5ccca05..9d4afc0 100644 --- a/Nav.php +++ b/Nav.php @@ -148,7 +148,7 @@ class Nav extends Widget $label = $this->encodeLabels ? Html::encode($item['label']) : $item['label']; $options = ArrayHelper::getValue($item, 'options', []); $items = ArrayHelper::getValue($item, 'items'); - $url = Html::url(ArrayHelper::getValue($item, 'url', '#')); + $url = ArrayHelper::getValue($item, 'url', '#'); $linkOptions = ArrayHelper::getValue($item, 'linkOptions', []); if (isset($item['active'])) {