mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:11:47 +02:00
[ticket/11150] Sorts extensions by display name
PHPBB3-11150
This commit is contained in:
committed by
Tristan Darricau
parent
8db408a21c
commit
3a1f2ad3ff
@@ -383,7 +383,10 @@ class installer
|
||||
}
|
||||
}
|
||||
|
||||
ksort($available);
|
||||
usort($available, function($a, $b)
|
||||
{
|
||||
return strcmp($a['display_name'], $b['display_name']);
|
||||
});
|
||||
|
||||
return $available;
|
||||
}
|
||||
|
Reference in New Issue
Block a user