mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/11150] Sorts extensions by display name
PHPBB3-11150
This commit is contained in:
parent
8db408a21c
commit
3a1f2ad3ff
1 changed files with 4 additions and 1 deletions
|
@ -383,7 +383,10 @@ class installer
|
|||
}
|
||||
}
|
||||
|
||||
ksort($available);
|
||||
usort($available, function($a, $b)
|
||||
{
|
||||
return strcmp($a['display_name'], $b['display_name']);
|
||||
});
|
||||
|
||||
return $available;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue