diff --git a/doc/82-Changelog.md b/doc/82-Changelog.md index 6c0eebda9..00d810217 100644 --- a/doc/82-Changelog.md +++ b/doc/82-Changelog.md @@ -4,6 +4,16 @@ Please make sure to always read our [Upgrading](05-Upgrading.md) documentation before switching to a new version. +v1.11.1 (unreleased) +-------------------- + +### Internals +* FIX: UserGroup creation failed since v1.10.0 (#2784) + +### Fixed issues +* You can find issues and feature requests related to this release on our + [roadmap](https://github.com/Icinga/icingaweb2-module-director/milestone/35?closed=1) + v1.11.0 ------- diff --git a/library/Director/Objects/IcingaObjectGroup.php b/library/Director/Objects/IcingaObjectGroup.php index 9a61912b9..c076f525d 100644 --- a/library/Director/Objects/IcingaObjectGroup.php +++ b/library/Director/Objects/IcingaObjectGroup.php @@ -43,13 +43,15 @@ protected function beforeStore() return; } } else { - if ($this->get('assign_filter') === null) { + if ($this->hasProperty('assign_filter') && $this->get('assign_filter') === null) { $this->memberShipShouldBeRefreshed = false; return; } } - $this->memberShipShouldBeRefreshed = true; + if ($this->hasProperty('assign_filter')) { + $this->memberShipShouldBeRefreshed = true; + } } protected function notifyResolvers()