Skip to content

Commit

Permalink
HostnotificationQuery: Ensure that notifications not sent to a contac…
Browse files Browse the repository at this point in the history
…t are fetched

refs #9009
  • Loading branch information
Johannes Meyer committed Jun 16, 2015
1 parent 3cf7e93 commit 42a1d8e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -132,12 +132,12 @@ protected function joinHistory()
*/
protected function joinContactnotifications()
{
$this->select->join(
$this->select->joinLeft(
array('cn' => $this->prefix . 'contactnotifications'),
'cn.notification_id = hn.notification_id',
array()
);
$this->select->join(
$this->select->joinLeft(
array('cno' => $this->prefix . 'objects'),
'cno.object_id = cn.contact_object_id',
array()
Expand Down

0 comments on commit 42a1d8e

Please sign in to comment.