mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-26 20:08:55 +00:00
Compare commits
No commits in common. "b8c49f971137d41afe5f7519365c9864e9b18f06" and "9c49a2b86b84e3841070661655bfc0c4bce6d7c8" have entirely different histories.
b8c49f9711
...
9c49a2b86b
1 changed files with 12 additions and 1 deletions
|
@ -135,6 +135,17 @@ class language_file_helper
|
|||
*/
|
||||
private static function sort_by_local_name(mixed $a, mixed $b): int
|
||||
{
|
||||
return $a['local_name'] <=> $b['local_name'];
|
||||
if ($a['local_name'] > $b['local_name'])
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
else if ($a['local_name'] < $b['local_name'])
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
else
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue