Browse Source

removed unnecessary call to Html::url()

fixes #2466
tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
6cd480ee4a
  1. 2
      Nav.php

2
Nav.php

@ -148,7 +148,7 @@ class Nav extends Widget
$label = $this->encodeLabels ? Html::encode($item['label']) : $item['label']; $label = $this->encodeLabels ? Html::encode($item['label']) : $item['label'];
$options = ArrayHelper::getValue($item, 'options', []); $options = ArrayHelper::getValue($item, 'options', []);
$items = ArrayHelper::getValue($item, 'items'); $items = ArrayHelper::getValue($item, 'items');
$url = Html::url(ArrayHelper::getValue($item, 'url', '#')); $url = ArrayHelper::getValue($item, 'url', '#');
$linkOptions = ArrayHelper::getValue($item, 'linkOptions', []); $linkOptions = ArrayHelper::getValue($item, 'linkOptions', []);
if (isset($item['active'])) { if (isset($item['active'])) {

Loading…
Cancel
Save