From 092ba41e0dc6e48e811142d84364a07d701d7ec5 Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Thu, 9 Oct 2014 16:52:45 +0200 Subject: [PATCH] Fixed a require on the function "reporting_render_report_html_item" --- pandora_console/include/functions_reporting.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 933f58bffe..c657ed6341 100644 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -3727,7 +3727,7 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f $planned_downtimes = reporting_get_planned_downtimes(($report['datetime']-$content['period']), $report['datetime'], $id_agent_modules); if (!empty($planned_downtimes)) { - require_once ('include/functions_planned_downtimes.php'); + require_once ($config['homedir'] . '/include/functions_planned_downtimes.php'); $downtime_malformed = false; $malformed_planned_downtimes = planned_downtimes_get_malformed(); @@ -3816,7 +3816,6 @@ function reporting_render_report_html_item ($content, $table, $report, $mini = f $downtime_malformed = true; } - $table_planned_downtimes->data[] = $data; }