mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 08:44:11 +02:00
IcingaObjectGroups: Fix typo in set() method
This commit is contained in:
parent
fc2352fb1e
commit
33ea3a9b34
@ -82,10 +82,10 @@ class IcingaObjectGroups implements Iterator, Countable, IcingaConfigRenderer
|
||||
$class = $this->getGroupClass();
|
||||
foreach ($group as $g) {
|
||||
|
||||
if ($group instanceof $class) {
|
||||
$new[] = $group->object_name;
|
||||
if ($g instanceof $class) {
|
||||
$new[] = $g->object_name;
|
||||
} else {
|
||||
$new[] = $group;
|
||||
$new[] = $g;
|
||||
}
|
||||
}
|
||||
sort($existing);
|
||||
|
Loading…
x
Reference in New Issue
Block a user