From 8a9954f3cfa2701abfe88eec4b6982986a09a3b7 Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Fri, 10 Oct 2014 16:07:57 +0200 Subject: [PATCH] Fixes on the SLA report items --- pandora_console/include/functions_reporting.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 746e4e8d9b..b01ab3aa99 100644 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -3841,8 +3841,8 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f } if (!$malformed_planned_downtimes_empty - && isset($malformed_planned_downtimes[$server]) - && isset($malformed_planned_downtimes[$server][$planned_downtime['id']])) { + && isset($malformed_planned_downtimes_by_server[$server]) + && isset($malformed_planned_downtimes_by_server[$server][$planned_downtime['id']])) { $next_row_num = count($table_planned_downtimes->data); $table_planned_downtimes->cellstyle[$next_row_num][0] = 'color: red'; $table_planned_downtimes->cellstyle[$next_row_num][1] = 'color: red';