monitoring: Fix a join condition in the host status query

refs #9009
This commit is contained in:
Eric Lippmann 2015-06-03 11:48:14 +02:00
parent 947b5436c3
commit 761de2eb33

View File

@ -336,7 +336,7 @@ SQL;
array() array()
)->join( )->join(
array('so' => $this->prefix . 'objects'), array('so' => $this->prefix . 'objects'),
'so.object_id = s.service_object_id AND so.is_active = 1', 'so.object_id = s.service_object_id',
array() array()
)->where( )->where(
'so.is_active = ?', 'so.is_active = ?',