From 0fef7dbf712de4d37ea44f929e8695314159b188 Mon Sep 17 00:00:00 2001 From: m-lopez-f Date: Wed, 20 Jan 2016 12:07:16 +0100 Subject: [PATCH] Fixed problems with aviability report. Tiquet: #3243 --- pandora_console/include/functions_reporting.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 6cf894f531..d475955a1f 100755 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -6108,12 +6108,9 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f foreach ($data as $row) { $table_row = array(); $table_row[] = $row['agent']; - if ($content['show_graph']) { - $table_row[] = $row['ip_address']; - } - else { - $table_row[] = $row['module']; - } + + $table_row[] = $row['availability_item']; + $table_row[] = $row['checks']; $table_row[] = $row['failed']; $table_row[] = $row['fail'];