mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-30 01:04:12 +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();
|
$class = $this->getGroupClass();
|
||||||
foreach ($group as $g) {
|
foreach ($group as $g) {
|
||||||
|
|
||||||
if ($group instanceof $class) {
|
if ($g instanceof $class) {
|
||||||
$new[] = $group->object_name;
|
$new[] = $g->object_name;
|
||||||
} else {
|
} else {
|
||||||
$new[] = $group;
|
$new[] = $g;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sort($existing);
|
sort($existing);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user