diff --git a/pandora_console/include/functions_reporting.php b/pandora_console/include/functions_reporting.php index 55733ed251..eb6c683f45 100755 --- a/pandora_console/include/functions_reporting.php +++ b/pandora_console/include/functions_reporting.php @@ -487,7 +487,7 @@ function reporting_get_agentmodule_sla_day ($id_agent_module, $period = 0, $min_ $interval_data = db_get_all_rows_sql ($sql, $search_in_history_db); if ($interval_data === false) { - $interval_data = array (); + return false; } // Calculate planned downtime dates