summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-01-23 23:17:44 +0100
committerMorris Jobke <hey@morrisjobke.de>2019-01-23 23:21:05 +0100
commitc57f886b436ba0cff1e0f75f29f71e21d0b69368 (patch)
treec4bb1767538efd0e48447002b2f09169a002fb4c /lib
parentd59de22525a44ad413e1a57c3e4f6d91434d53a9 (diff)
downloadnextcloud-server-c57f886b436ba0cff1e0f75f29f71e21d0b69368.tar.gz
nextcloud-server-c57f886b436ba0cff1e0f75f29f71e21d0b69368.zip
Show proper default locale
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Settings/Personal/PersonalInfo.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Settings/Personal/PersonalInfo.php b/lib/private/Settings/Personal/PersonalInfo.php
index 8c1c8cb19b8..98991ce6d40 100644
--- a/lib/private/Settings/Personal/PersonalInfo.php
+++ b/lib/private/Settings/Personal/PersonalInfo.php
@@ -227,7 +227,7 @@ class PersonalInfo implements ISettings {
$uid = $user->getUID();
- $userLocaleString = $this->config->getUserValue($uid, 'core', 'locale', 'en_US');
+ $userLocaleString = $this->config->getUserValue($uid, 'core', 'locale', $this->l10nFactory->findLocale());
$userLang = $this->config->getUserValue($uid, 'core', 'lang', $this->l10nFactory->findLanguage());