Commit 67e11351 by Sergey Gonimar

Fix typo

parent e04dca4d
......@@ -156,7 +156,7 @@ class ContentNegotiator extends ActionFilter implements BootstrapInterface
if (!empty($this->formats)) {
$this->negotiateContentType($request, $response);
}
if (!empty($languages)) {
if (!empty($this->languages)) {
Yii::$app->language = $this->negotiateLanguage($request);
}
}
......
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