From 35cd1caf94e2a5ddded5146f666cbb7bcdd52191 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Tue, 3 Nov 2015 12:23:21 +0100 Subject: [PATCH] Fixed problems with count total agents in tree view of metaconsole. Tiquet: #2950 --- pandora_console/include/functions_treeview.php | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora_console/include/functions_treeview.php b/pandora_console/include/functions_treeview.php index 60829e06aa..7133abe9a7 100755 --- a/pandora_console/include/functions_treeview.php +++ b/pandora_console/include/functions_treeview.php @@ -593,6 +593,7 @@ function treeview_printTree($type) { $list[$server_item['_name_']]['_num_not_init_'] += $server_item['_num_not_init_']; $list[$server_item['_name_']]['_num_warning_'] += $server_item['_num_warning_']; $list[$server_item['_name_']]['_num_unknown_'] += $server_item['_num_unknown_']; + $list[$server_item['_name_']]['_num_total_'] += $server_item['_num_total_']; } } }