diff --git a/library/Icingadb/ProvidedHook/Reporting/SlaReport.php b/library/Icingadb/ProvidedHook/Reporting/SlaReport.php index b5898fd83..b9815eb7a 100644 --- a/library/Icingadb/ProvidedHook/Reporting/SlaReport.php +++ b/library/Icingadb/ProvidedHook/Reporting/SlaReport.php @@ -112,6 +112,10 @@ protected function fetchReportData(Timerange $timerange, array $config = null) } } else { foreach ($this->fetchSla($timerange, $filter) as $row) { + if ($row->sla === null) { + $row->sla = 0.0; + } + $rows[] = $this->createReportRow($row); } }