Skip to content

Commit 79f50b1

Browse files
committed
MAGETWO-66350: Fix admin menu bug #4854
- Merge Pull Request #4854 from NikolasSumrak/magento2:patch-2
2 parents 535860a + f8e7f2b commit 79f50b1

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)