mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 03:52:15 +09:00
Fix #2099 remove empty item for inaccessible menus that have accessible children
This commit is contained in:
parent
73c60b1297
commit
26f052925b
1 changed files with 1 additions and 0 deletions
|
|
@ -1128,6 +1128,7 @@ function recurciveExposureCheck(&$menu)
|
||||||
if(!$value['isShow'])
|
if(!$value['isShow'])
|
||||||
{
|
{
|
||||||
unset($menu[$key]);
|
unset($menu[$key]);
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
if(is_array($value['list']) && count($value['list']) > 0)
|
if(is_array($value['list']) && count($value['list']) > 0)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue