mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2026-05-28 04:35:53 -04:00
fix gettype for multiple host selection
This commit is contained in:
parent
bb81de8b84
commit
0931c1df91
1 changed files with 1 additions and 1 deletions
|
|
@ -861,7 +861,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
|
|||
throw new ProgrammingError('getAppliedGroups is only available for hosts currently!');
|
||||
}
|
||||
|
||||
$type = strtolower($this->type);
|
||||
$type = strtolower($this->getType());
|
||||
$query = $this->db->select()->from(
|
||||
['gr' => "icinga_${type}group_${type}_resolved"],
|
||||
['g.object_name']
|
||||
|
|
|
|||
Loading…
Reference in a new issue