From 507dd176cc243a44415538a260bf2e7c4f4e7a44 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 11 Mar 2016 02:41:22 +0100 Subject: [PATCH] IcingaObject: fix lookup loop on lazy loading --- library/Director/Objects/IcingaObject.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]); }