Skip to content

Commit

Permalink
Merge pull request #1224 from geekwright/fix_1179
Browse files Browse the repository at this point in the history
Fix module admin breadcrumb
  • Loading branch information
geekwright authored Apr 15, 2022
2 parents cb7ad4f + 3c101bb commit 872dcd4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion htdocs/modules/system/class/menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,12 @@ public function render($currentoption = 1, $display = true)
*/
$j=0;
foreach ($this->_menutabs as $k => $menus) {
if ($j == $currentoption) {
$breadcrumb = $menus;
}
$menuItems[] = 'modmenu_' . $j++;
}
$breadcrumb = $menuItems[$currentoption];

$menuItems[$currentoption] = 'current';
$menu = "<div id='buttontop_mod'>";
$menu .= "<table style='width: 100%; padding: 0;' cellspacing='0'>\n<tr>";
Expand Down

0 comments on commit 872dcd4

Please sign in to comment.