|
|
@@ -105,7 +105,9 @@ switch ($action) {
|
|
|
}
|
|
|
//$children[] = array("index" =>$index.'-2',"label" =>"System Settings","path"=>"/SystemSettings");
|
|
|
$systemManagement["children"] = $children;
|
|
|
- $menuList[] = $systemManagement;
|
|
|
+ if (!empty($children)){
|
|
|
+ $menuList[] = $systemManagement;
|
|
|
+ }
|
|
|
}
|
|
|
common::echo_json_encode(200, $menuList);
|
|
|
exit();
|