IcingaObject: fix lookup loop on lazy loading

This commit is contained in:
Thomas Gelf 2016-03-11 02:41:22 +01:00
parent 98ffe3628d
commit 507dd176cc
1 changed files with 1 additions and 1 deletions

View File

@ -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]);
}