Fixed SLA monthly limited ranges
This commit is contained in:
parent
18495a23e5
commit
b46b9db075
|
@ -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);
|
$interval_data = db_get_all_rows_sql ($sql, $search_in_history_db);
|
||||||
|
|
||||||
if ($interval_data === false) {
|
if ($interval_data === false) {
|
||||||
$interval_data = array ();
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Calculate planned downtime dates
|
// Calculate planned downtime dates
|
||||||
|
|
Loading…
Reference in New Issue