mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
BugFix-sub item rendering (#2450)
Fix for $mod_li and $mod_a_li not being blanked/reset foreach menu parent item rendered, causing the first menu with sub items to force sub item rendering for all remaining menu items
This commit is contained in:
@@ -454,6 +454,8 @@
|
||||
<ul class="nav navbar-nav">
|
||||
<?php
|
||||
foreach ($menu_array as $index_main => $menu_parent) {
|
||||
$mod_li = "";
|
||||
$mod_a_1 = "";
|
||||
$submenu = false;
|
||||
if (is_array($menu_parent['menu_items']) && sizeof($menu_parent['menu_items']) > 0) {
|
||||
$mod_li = "class='dropdown' ";
|
||||
|
||||
Reference in New Issue
Block a user