diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostdowntimeQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostdowntimeQuery.php index 63acc17fc..2776bcdc2 100644 --- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostdowntimeQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/HostdowntimeQuery.php @@ -148,7 +148,7 @@ class HostdowntimeQuery extends IdoQuery { $this->select->joinLeft( array('s' => $this->prefix . 'services'), - 's.host_object_id = h.host_object_id', + 's.host_object_id = ho.object_id', array() )->joinLeft( array('so' => $this->prefix . 'objects'),