diff options
author | Morris Jobke <hey@morrisjobke.de> | 2019-01-23 23:17:44 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2019-01-23 23:21:05 +0100 |
commit | c57f886b436ba0cff1e0f75f29f71e21d0b69368 (patch) | |
tree | c4bb1767538efd0e48447002b2f09169a002fb4c /lib | |
parent | d59de22525a44ad413e1a57c3e4f6d91434d53a9 (diff) | |
download | nextcloud-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.php | 2 |
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()); |