mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-20 09:16:23 +01:00
Update menus.php
This commit is contained in:
@@ -60,7 +60,7 @@ usort($menus, function ($a, $b) {
|
|||||||
|
|
||||||
foreach ($menus as $i => $menu) {
|
foreach ($menus as $i => $menu) {
|
||||||
if (isset($menu['link']) && is_array($menu['link'])) {
|
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'];
|
return $a['order'] - $b['order'];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user