2014-08-20 Alejandro Gallardo <alejandro.gallardo@artica.es>

* include/functions_graph.php: Fixed the function
	"graph_monitor_wheel".


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10436 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
alexhigh 2014-08-20 11:10:19 +00:00
parent 0d003c8840
commit 428ccacdd6
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-08-20 Alejandro Gallardo <alejandro.gallardo@artica.es>
* include/functions_graph.php: Fixed the function
"graph_monitor_wheel".
2014-08-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php, operation/search_helps.php,

View File

@ -4297,9 +4297,13 @@ function graph_monitor_wheel ($width = 500, $height = 600) {
}
$data_agents[$agent_id]['children'][$module_group_id]['children'][] = $data_module;
unset($modules[$module_id]);
}
function order_module_group_keys ($value, $key) {
$value['children'] = array_merge($value['children']);
return $value;
}
$data_agents = array_map('order_module_group_keys', $data_agents);
}
foreach ($agents as $id => $agent) {
if (!isset($data_agents[$id])) {