Commit aff39683 by Qiang Xue

Merge pull request #3171 from gonimar/patch-15

Fix typo
parents e04dca4d 67e11351
......@@ -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