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
1 changed files with 3 additions and 2 deletions

View File

@ -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'),