mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 17:24:18 +02:00
BetaHostgroupRestriction: fix permissions, use...
...new resolved table refs #832
This commit is contained in:
parent
1e1f62f3f4
commit
b558cc405b
@ -35,7 +35,7 @@ class BetaHostgroupRestriction extends ObjectRestriction
|
|||||||
$query->where('(1 = 0)');
|
$query->where('(1 = 0)');
|
||||||
} else {
|
} else {
|
||||||
$sub = $this->db->select()->from(
|
$sub = $this->db->select()->from(
|
||||||
array('hgh' => 'icinga_hostgroup_host'),
|
array('hgh' => 'icinga_hostgroup_host_resolved'),
|
||||||
array('e' => '(1)')
|
array('e' => '(1)')
|
||||||
)->join(
|
)->join(
|
||||||
array('hg' => 'icinga_hostgroup'),
|
array('hg' => 'icinga_hostgroup'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user