diff --git a/library/Director/Objects/IcingaObject.php b/library/Director/Objects/IcingaObject.php index 438eceb7..f0eb1b56 100644 --- a/library/Director/Objects/IcingaObject.php +++ b/library/Director/Objects/IcingaObject.php @@ -396,7 +396,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer */ public function setAssign_filter($filter) { - if (! $this->supportsAssignments()) { + if (! $this->supportsAssignments() && $filter !== null) { if ($this->hasProperty('object_type')) { $type = $this->object_type; } else {