From e0c4fb6143b3457722d0ad4f2a548559ff21433e Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Mon, 20 Oct 2014 16:56:01 +0200 Subject: [PATCH] Error fixes on the function "graph_monitor_wheel" --- pandora_console/include/functions_graph.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pandora_console/include/functions_graph.php b/pandora_console/include/functions_graph.php index 370a8638b9..5dc4ff4461 100755 --- a/pandora_console/include/functions_graph.php +++ b/pandora_console/include/functions_graph.php @@ -4344,8 +4344,8 @@ function graph_monitor_wheel ($width = 550, $height = 600, $filter = false) { $data_groups = array(); if (!empty($groups)) { $groups_aux = $groups; - $data_groups = groups_get_tree($groups_aux); - $groups_aux = $groups = null; + $data_groups = groups_get_tree($groups); + $groups_aux = null; } if (!empty($data_groups)) { @@ -4606,7 +4606,7 @@ function graph_monitor_wheel ($width = 550, $height = 600, $filter = false) { if (!isset($group['children'])) $group_aux['children'] = array(); 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);