aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/configureController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controllers/configureController.php')
-rw-r--r--app/Controllers/configureController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Controllers/configureController.php b/app/Controllers/configureController.php
index e69b46323..993982184 100644
--- a/app/Controllers/configureController.php
+++ b/app/Controllers/configureController.php
@@ -45,7 +45,7 @@ class FreshRSS_configure_Controller extends FreshRSS_ActionController {
*/
public function displayAction(): void {
if (Minz_Request::isPost()) {
- $language = Minz_Request::paramString('language') ?: 'en';
+ $language = Minz_Request::paramString('language') ?: Minz_Translate::DEFAULT_LANGUAGE;
if (Minz_Translate::exists($language)) {
FreshRSS_Context::userConf()->language = $language;
}