Merge pull request #13772 from nextcloud/bugfix/noid/show-default-locale

Show proper default locale
This commit is contained in:
Roeland Jago Douma 2019-01-24 08:31:46 +01:00 committed by GitHub
commit 6b48e13371
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ class PersonalInfo implements ISettings {
$uid = $user->getUID(); $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()); $userLang = $this->config->getUserValue($uid, 'core', 'lang', $this->l10nFactory->findLanguage());