mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-15 13:58:24 +08:00
replaced usages of $_GET with Request::queryParams
This commit is contained in:
@@ -158,7 +158,7 @@ class Menu extends Widget
|
||||
$this->route = Yii::$app->controller->getRoute();
|
||||
}
|
||||
if ($this->params === null) {
|
||||
$this->params = $_GET;
|
||||
$this->params = Yii::$app->request->getQueryParams();
|
||||
}
|
||||
$items = $this->normalizeItems($this->items, $hasActiveChild);
|
||||
$options = $this->options;
|
||||
|
||||
Reference in New Issue
Block a user