Monitoring\Object\Host: explicit WHERE

Related to the former commit, no more auto-voodoo
This commit is contained in:
Thomas Gelf 2014-06-17 13:12:36 +00:00
parent 3ccfe347f3
commit 0e09a1c7ba
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ class Host extends AbstractObject
'host_notes_url', 'host_notes_url',
'host_modified_host_attributes', 'host_modified_host_attributes',
'host_problem' 'host_problem'
)); ))->where('host_name', $this->params->get('host'));
return $this->view->getQuery()->fetchRow(); return $this->view->getQuery()->fetchRow();
} }
} }