mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 17:24:18 +02:00
Fix db type error, when hostgroup is accidentially interpreted as integer
fixes #2821
This commit is contained in:
parent
9a9799e491
commit
aa31b37fd1
@ -183,6 +183,10 @@ class IcingaObjectGroups implements Iterator, Countable, IcingaConfigRenderer
|
||||
return $this;
|
||||
}
|
||||
|
||||
if (is_int($group)) {
|
||||
$group = (string) $group;
|
||||
}
|
||||
|
||||
/** @var IcingaObjectGroup $class */
|
||||
$class = $this->getGroupClass();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user