From bf70ec280268b231e2aec002ba73aebd53ac6eaa Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 16 Jun 2015 13:29:31 +0200 Subject: [PATCH] ServicenotificationQuery: Ensure that notifications not sent to a contact are fetched refs #9009 --- .../Monitoring/Backend/Ido/Query/ServicenotificationQuery.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicenotificationQuery.php b/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicenotificationQuery.php index 9a99b6152..bf7e99259 100644 --- a/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicenotificationQuery.php +++ b/modules/monitoring/library/Monitoring/Backend/Ido/Query/ServicenotificationQuery.php @@ -133,12 +133,12 @@ class ServicenotificationQuery extends IdoQuery */ protected function joinContactnotifications() { - $this->select->join( + $this->select->joinLeft( array('cn' => $this->prefix . 'contactnotifications'), 'cn.notification_id = sn.notification_id', array() ); - $this->select->join( + $this->select->joinLeft( array('cno' => $this->prefix . 'objects'), 'cno.object_id = cn.contact_object_id', array()