aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/L10N
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2023-04-05 17:42:14 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2023-04-05 17:42:14 +0200
commit8d5165e8dc40289b5d523523c4140f780b2fe293 (patch)
treeb4d15f2bc67e16c94d7cdfdb893a773b415d2738 /lib/private/L10N
parent426c0341ffff262f58d1b7f031de4f0c53c8bec5 (diff)
downloadnextcloud-server-8d5165e8dc40289b5d523523c4140f780b2fe293.tar.gz
nextcloud-server-8d5165e8dc40289b5d523523c4140f780b2fe293.zip
Adapt tests to config value typing
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/L10N')
-rw-r--r--lib/private/L10N/LanguageIterator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/L10N/LanguageIterator.php b/lib/private/L10N/LanguageIterator.php
index b5f060d7db1..8b3aaf10210 100644
--- a/lib/private/L10N/LanguageIterator.php
+++ b/lib/private/L10N/LanguageIterator.php
@@ -96,7 +96,7 @@ class LanguageIterator implements ILanguageIterator {
return $this->config->getSystemValueString('default_language', 'en');
/** @noinspection PhpMissingBreakStatementInspection */
case 5:
- $defaultLang = $this->config->getSystemValue('default_language', 'en');
+ $defaultLang = $this->config->getSystemValueString('default_language', 'en');
if (($truncated = $this->getTruncatedLanguage($defaultLang)) !== $defaultLang) {
return $truncated;
}