Commit 6f971645 authored by Ad Schellevis's avatar Ad Schellevis

fix menu item selection for interfaces

parent 40b6e7a9
...@@ -75,7 +75,7 @@ foreach ($cnf->object()->interfaces->children() as $key => $node) { ...@@ -75,7 +75,7 @@ foreach ($cnf->object()->interfaces->children() as $key => $node) {
$menu->appendItem("Interfaces", $key, array("url"=>"/interfaces.php?if=".$key,"order"=>($ordid++), $menu->appendItem("Interfaces", $key, array("url"=>"/interfaces.php?if=".$key,"order"=>($ordid++),
"visiblename"=>$node->descr?$node->descr:strtoupper($key))); "visiblename"=>$node->descr?$node->descr:strtoupper($key)));
} }
$menuSystem = $menu->getItems($_SERVER['PHP_SELF']); $menuSystem = $menu->getItems($_SERVER['REQUEST_URI']);
$aclObj = new \OPNsense\Core\ACL(); $aclObj = new \OPNsense\Core\ACL();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment