Fix acknowledgement count query

refs #10032
This commit is contained in:
Matthias Jentsch 2015-09-01 17:42:51 +02:00
parent fd8824e157
commit 985f6ab85e

View File

@ -48,8 +48,9 @@ class AcknowledgementQuery extends IdoQuery
protected function joinBaseTables() protected function joinBaseTables()
{ {
$this->acknowledgementQuery = $this->db->select(); $this->acknowledgementQuery = $this->db->select();
$this->select = $this->select->from( $this->select->from(
array('o' => $this->prefix . 'objects') array('o' => $this->prefix . 'objects'),
array()
); );
$this->select->joinLeft( $this->select->joinLeft(
array('hs' => $this->prefix . 'hoststatus'), array('hs' => $this->prefix . 'hoststatus'),