Error fixes on the function "graph_monitor_wheel"
This commit is contained in:
parent
0b2c6f5c45
commit
bbd7ae85df
|
@ -4344,8 +4344,8 @@ function graph_monitor_wheel ($width = 550, $height = 600, $filter = false) {
|
||||||
$data_groups = array();
|
$data_groups = array();
|
||||||
if (!empty($groups)) {
|
if (!empty($groups)) {
|
||||||
$groups_aux = $groups;
|
$groups_aux = $groups;
|
||||||
$data_groups = groups_get_tree($groups_aux);
|
$data_groups = groups_get_tree($groups);
|
||||||
$groups_aux = $groups = null;
|
$groups_aux = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($data_groups)) {
|
if (!empty($data_groups)) {
|
||||||
|
@ -4606,7 +4606,7 @@ function graph_monitor_wheel ($width = 550, $height = 600, $filter = false) {
|
||||||
if (!isset($group['children']))
|
if (!isset($group['children']))
|
||||||
$group_aux['children'] = array();
|
$group_aux['children'] = array();
|
||||||
if (!empty($group['children']))
|
if (!empty($group['children']))
|
||||||
$group_aux['children'] = iterate_group_array($group['children']);
|
$group_aux['children'] = iterate_group_array($group['children'], $data_agents);
|
||||||
|
|
||||||
$agents = extract_agents_with_group_id($data_agents, (int) $id);
|
$agents = extract_agents_with_group_id($data_agents, (int) $id);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue