From b46b9db0759c53a976e42e46611fc3e5f7124b42 Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Tue, 30 Jun 2015 18:12:53 +0200 Subject: [PATCH] Fixed SLA monthly limited ranges --- pandora_console/include/functions_reporting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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