Fixed a require on the function "reporting_render_report_html_item"

This commit is contained in:
Alejandro Gallardo Escobar 2014-10-09 16:52:45 +02:00
parent c13b3c95b8
commit 092ba41e0d
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}