Browse Source

Show proper default locale

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
pull/13772/head
Morris Jobke 7 years ago
parent
commit
c57f886b43
No known key found for this signature in database GPG Key ID: FE03C3A163FEDE68
  1. 2
      lib/private/Settings/Personal/PersonalInfo.php

2
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());

Loading…
Cancel
Save