Skip to content

Commit

Permalink
MAGETWO-37904: [GitHub] Admin menu with 1 submenu item does not show …
Browse files Browse the repository at this point in the history
…the subitem #1292

- Static fix
  • Loading branch information
mazhalai committed Jun 3, 2015
1 parent 7178f2c commit 1a3bf03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Backend/Block/Menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ public function renderNavigation($menu, $level = 0, $limit = 0, $colBrakes = [])

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

0 comments on commit 1a3bf03

Please sign in to comment.