From 26f052925b53ca7d7e6d2a00840af8296aa0f28e Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Mon, 19 Jun 2023 22:05:11 +0900 Subject: [PATCH] Fix #2099 remove empty item for inaccessible menus that have accessible children --- common/legacy.php | 1 + 1 file changed, 1 insertion(+) diff --git a/common/legacy.php b/common/legacy.php index dfddb958f..6a35e076c 100644 --- a/common/legacy.php +++ b/common/legacy.php @@ -1128,6 +1128,7 @@ function recurciveExposureCheck(&$menu) if(!$value['isShow']) { unset($menu[$key]); + continue; } if(is_array($value['list']) && count($value['list']) > 0) {