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

- minor fix
  • Loading branch information
mazhalai committed Jun 1, 2015
1 parent 2015f5c commit d247738
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 @@ -455,7 +455,7 @@ public function renderNavigation($menu, $level = 0, $limit = 0, $colBrakes = [])
}

$id = $this->getJsId($menuItem->getId());
if (count($menu) > 1 || $level != 1) {
if (count($menu) > 0 || $level != 1) {
$output .= '<li ' . $this->getUiId(
$menuItem->getId()
) . ' class="item-' . $itemClass . ' ' . $this->_renderItemCssClass(
Expand Down

0 comments on commit d247738

Please sign in to comment.