Skip to content

Commit 1e9ff56

Browse files
committed
Bugfix: show languages in language-bar in their own language instead of the current language
1 parent 03e4754 commit 1e9ff56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SimpleSAML/Locale/Language.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ public function getLanguage(): string
218218
public function getLanguageLocalizedName(string $code): ?string
219219
{
220220
if (Locales::exists($code)) {
221-
return Locales::getName($code);
221+
return Locales::getName($code, $code);
222222
}
223223
Logger::error("Name for language \"$code\" not found. Check config.");
224224
return null;

0 commit comments

Comments
 (0)