Commit afe50645 authored by Carsten Brandt's avatar Carsten Brandt

replaced usages of $_GET with Request::queryParams

parent 58421f95
...@@ -100,7 +100,7 @@ class Nav extends Widget ...@@ -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');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment