Skip to content

Commit 1f0424b

Browse files
authored
MAGETWO-66350: Fix admin menu bug #4854
2 parents 426c758 + 79f50b1 commit 1f0424b

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
@@ -381,7 +381,7 @@ public function renderNavigation($menu, $level = 0, $limit = 0, $colBrakes = [])
381381
$itemName = substr($menuId, strrpos($menuId, '::') + 2);
382382
$itemClass = str_replace('_', '-', strtolower($itemName));
383383

384-
if (count($colBrakes) && $colBrakes[$itemPosition]['colbrake']) {
384+
if (count($colBrakes) && $colBrakes[$itemPosition]['colbrake'] && $itemPosition != 1) {
385385
$output .= '</ul></li><li class="column"><ul role="menu">';
386386
}
387387

0 commit comments

Comments
 (0)