diff --git a/library/Director/Objects/IcingaObjectGroups.php b/library/Director/Objects/IcingaObjectGroups.php index d3eb94bf..7b5d2928 100644 --- a/library/Director/Objects/IcingaObjectGroups.php +++ b/library/Director/Objects/IcingaObjectGroups.php @@ -304,7 +304,10 @@ class IcingaObjectGroups implements Iterator, Countable, IcingaConfigRenderer $this->storedGroups = array(); foreach ($this->groups as $k => $v) { $this->storedGroups[$k] = clone($v); + $this->storedGroups[$k]->id = $v->id; } + + $this->modified = false; } protected function getGroupClass()