메뉴 아이템 길이 버그
This commit is contained in:
1 parent
6eadf718fc
commit
31c7bf5348
1 file changed
+1
-1
@@ -141,7 +141,7 @@ class WebUtil
|
|||||||
|
|
||||||
$result = [];
|
$result = [];
|
||||||
foreach($json as $menuItem){
|
foreach($json as $menuItem){
|
||||||
if (count($path) == 2) {
|
if (count($menuItem) == 2) {
|
||||||
[$url, $title] = $menuItem;
|
[$url, $title] = $menuItem;
|
||||||
$targetAttr = '';
|
$targetAttr = '';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user