diff --git a/library/Director/Objects/IcingaObject.php b/library/Director/Objects/IcingaObject.php index a05fca21..ed3456eb 100644 --- a/library/Director/Objects/IcingaObject.php +++ b/library/Director/Objects/IcingaObject.php @@ -193,7 +193,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer $this->connection ); - $this->$name = $object->id; + $this->reallySet($name, $object->id); unset($this->unresolvedRelatedProperties[$name]); }