Skip to content

Commit 43a2840

Browse files
committed
User: Language: #fix syntax from previous commit about plateformLanguage by default when updating a user instead of english - refs BT#21500
1 parent 2faa79e commit 43a2840

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/inc/lib/usermanager.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1614,7 +1614,7 @@ public static function update_user(
16141614

16151615
// Checking the user language
16161616
$languages = api_get_languages();
1617-
if (empty($languages) || !in_array($language, $languages['folder'])) {
1617+
if (empty($language) || !in_array($language, $languages['folder'])) {
16181618
$language = api_get_setting('platformLanguage');
16191619
}
16201620

0 commit comments

Comments
 (0)