Browse Source

replaced usages of $_GET with Request::queryParams

tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
afe5064508
  1. 2
      Nav.php

2
Nav.php

@ -100,7 +100,7 @@ class Nav extends Widget
$this->route = Yii::$app->controller->getRoute(); $this->route = Yii::$app->controller->getRoute();
} }
if ($this->params === null) { if ($this->params === null) {
$this->params = $_GET; $this->params = Yii::$app->request->getQueryParams();
} }
Html::addCssClass($this->options, 'nav'); Html::addCssClass($this->options, 'nav');
} }

Loading…
Cancel
Save