]> git.mxchange.org Git - friendica.git/commitdiff
Sort the user languages
authorMichael <heluecht@pirati.ca>
Sun, 5 Nov 2023 20:38:49 +0000 (20:38 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 5 Nov 2023 20:38:49 +0000 (20:38 +0000)
src/Model/User.php

index 7c128fbe824c0102313f42f4d9edc7309f84d747..88194c6d01cb67f01d0b98af21f2947821e35337 100644 (file)
@@ -612,6 +612,7 @@ class User
                }
                DBA::close($channels);
 
+               ksort($languages);
                return array_keys($languages);
        }