From 589f0de063e1d97a6ebdfe808d759e0b4a9894a4 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 11 Aug 2015 11:29:48 +0200 Subject: [PATCH] HostdowntimeQuery: Fix services join --- .../library/Monitoring/Backend/Ido/Query/HostdowntimeQuery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'),