IcingaObject: fix lookup loop on lazy loading
This commit is contained in:
parent
98ffe3628d
commit
507dd176cc
|
@ -193,7 +193,7 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
|
||||||
$this->connection
|
$this->connection
|
||||||
);
|
);
|
||||||
|
|
||||||
$this->$name = $object->id;
|
$this->reallySet($name, $object->id);
|
||||||
unset($this->unresolvedRelatedProperties[$name]);
|
unset($this->unresolvedRelatedProperties[$name]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue