From afe50645084e11c8caf668be415e5a8f6d179b08 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Tue, 21 Jan 2014 15:13:51 +0100 Subject: [PATCH] replaced usages of $_GET with Request::queryParams --- Nav.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nav.php b/Nav.php index 42e6346..6334cb9 100644 --- a/Nav.php +++ b/Nav.php @@ -100,7 +100,7 @@ class Nav extends Widget $this->route = Yii::$app->controller->getRoute(); } if ($this->params === null) { - $this->params = $_GET; + $this->params = Yii::$app->request->getQueryParams(); } Html::addCssClass($this->options, 'nav'); }