From ae7a47464f2379944e4e1be1f59b4d5fc9c5fb21 Mon Sep 17 00:00:00 2001 From: slawkens Date: Mon, 3 Nov 2025 20:37:14 +0100 Subject: [PATCH] Update menus.php --- admin/template/menus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/template/menus.php b/admin/template/menus.php index 0bcd7304..6df84745 100644 --- a/admin/template/menus.php +++ b/admin/template/menus.php @@ -60,7 +60,7 @@ usort($menus, function ($a, $b) { foreach ($menus as $i => $menu) { if (isset($menu['link']) && is_array($menu['link'])) { - usort($menus[$i]['link'], function ($a, $b) { + usort($menu['link'], function ($a, $b) { return $a['order'] - $b['order']; }); }