sort addon array

This commit is contained in:
Philipp 2023-01-04 01:05:02 +01:00
parent 13b234d279
commit 01403d15c4
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432

View File

@ -85,6 +85,7 @@ class Addon
{ {
$addons_admin = []; $addons_admin = [];
$addons = DI::config()->get('addons'); $addons = DI::config()->get('addons');
ksort($addons);
foreach ($addons as $name => $data) { foreach ($addons as $name => $data) {
if (empty($data['admin'])) { if (empty($data['admin'])) {
continue; continue;