Skip to content

Commit 1a3bf03

Browse files
committed
MAGETWO-37904: [GitHub] Admin menu with 1 submenu item does not show the subitem #1292
- Static fix
1 parent 7178f2c commit 1a3bf03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Backend/Block/Menu.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ public function renderNavigation($menu, $level = 0, $limit = 0, $colBrakes = [])
456456

457457
$id = $this->getJsId($menuItem->getId());
458458
$subMenu = $this->_addSubMenu($menuItem, $level, $limit, $id);
459-
if ((count($menu) > 1 || $level != 1) || (($menuItem->getUrl() !== '#') )) {
459+
if (count($menu) > 1 || $level != 1 || $menuItem->getUrl() !== '#') {
460460
$output .= '<li ' . $this->getUiId($menuItem->getId())
461461
. ' class="item-' . $itemClass . ' ' . $this->_renderItemCssClass($menuItem, $level)
462462
. ($level == 0 ? '" id="' . $id . '" aria-haspopup="true' : '')

0 commit comments

Comments
 (0)