aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/Request.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Minz/Request.php')
-rw-r--r--lib/Minz/Request.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Minz/Request.php b/lib/Minz/Request.php
index 2f76b9aa8..a41ddb0a6 100644
--- a/lib/Minz/Request.php
+++ b/lib/Minz/Request.php
@@ -515,6 +515,6 @@ class Minz_Request {
if (preg_match_all('/(^|,)\s*(?P<lang>[^;,]+)/', $acceptLanguage, $matches) > 0) {
return $matches['lang'];
}
- return ['en'];
+ return [Minz_Translate::DEFAULT_LANGUAGE];
}
}