mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
fix gettype for multiple host selection
This commit is contained in:
parent
bb81de8b84
commit
0931c1df91
@ -861,7 +861,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
|
|||||||
throw new ProgrammingError('getAppliedGroups is only available for hosts currently!');
|
throw new ProgrammingError('getAppliedGroups is only available for hosts currently!');
|
||||||
}
|
}
|
||||||
|
|
||||||
$type = strtolower($this->type);
|
$type = strtolower($this->getType());
|
||||||
$query = $this->db->select()->from(
|
$query = $this->db->select()->from(
|
||||||
['gr' => "icinga_${type}group_${type}_resolved"],
|
['gr' => "icinga_${type}group_${type}_resolved"],
|
||||||
['g.object_name']
|
['g.object_name']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user