diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicedowntimeendhistoryQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicedowntimeendhistoryQuery.php index 44303a9cd..6d020c568 100644 --- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicedowntimeendhistoryQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicedowntimeendhistoryQuery.php @@ -29,11 +29,11 @@ class ServicedowntimeendhistoryQuery extends ServicedowntimestarthistoryQuery { parent::joinBaseTables(true); $this->select->where("sdh.actual_end_time > '1970-01-02 00:00:00'"); - $this->columnMap['history']['type'] = "('dt_end')"; - $this->columnMap['history']['timestamp'] = str_replace( + $this->columnMap['downtimehistory']['type'] = "('dt_end')"; + $this->columnMap['downtimehistory']['timestamp'] = str_replace( 'actual_start_time', 'actual_end_time', - $this->columnMap['history']['timestamp'] + $this->columnMap['downtimehistory']['timestamp'] ); } }