BetaHostgroupRestriction: fix permissions, use...

...new resolved table

refs #832
This commit is contained in:
Thomas Gelf 2017-03-14 15:28:20 +01:00
parent 1e1f62f3f4
commit b558cc405b

View File

@ -35,7 +35,7 @@ class BetaHostgroupRestriction extends ObjectRestriction
$query->where('(1 = 0)');
} else {
$sub = $this->db->select()->from(
array('hgh' => 'icinga_hostgroup_host'),
array('hgh' => 'icinga_hostgroup_host_resolved'),
array('e' => '(1)')
)->join(
array('hg' => 'icinga_hostgroup'),