@@ -77,8 +77,9 @@ |
||
77 | 77 | */ |
78 | 78 | public function init() |
79 | 79 | { |
80 | - if (!$this->request) |
|
81 | - $this->request = Yii::$app->request; |
|
80 | + if (!$this->request) { |
|
81 | + $this->request = Yii::$app->request; |
|
82 | + } |
|
82 | 83 | parent::init(); |
83 | 84 | } |
84 | 85 |