From 985f6ab85ef3fcbb6611e4e198cf2b528d8d9018 Mon Sep 17 00:00:00 2001 From: Matthias Jentsch Date: Tue, 1 Sep 2015 17:42:51 +0200 Subject: [PATCH] Fix acknowledgement count query refs #10032 --- .../Monitoring/Backend/Ido/Query/AcknowledgementQuery.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/AcknowledgementQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/AcknowledgementQuery.php index a65eb0240..77782ec09 100644 --- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/AcknowledgementQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/AcknowledgementQuery.php @@ -48,8 +48,9 @@ class AcknowledgementQuery extends IdoQuery protected function joinBaseTables() { $this->acknowledgementQuery = $this->db->select(); - $this->select = $this->select->from( - array('o' => $this->prefix . 'objects') + $this->select->from( + array('o' => $this->prefix . 'objects'), + array() ); $this->select->joinLeft( array('hs' => $this->prefix . 'hoststatus'),