From 2f78d52c58d66ab73e19018de3bf810174ebe234 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 29 Aug 2017 23:04:54 +0200 Subject: [PATCH] IcingaDependency: rule is not a DbObject here fixes #1137 --- library/Director/Objects/IcingaDependency.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Director/Objects/IcingaDependency.php b/library/Director/Objects/IcingaDependency.php index 7ab0324f..22cd3286 100644 --- a/library/Director/Objects/IcingaDependency.php +++ b/library/Director/Objects/IcingaDependency.php @@ -395,7 +395,7 @@ class IcingaDependency extends IcingaObject if ($matcher->matchesFilter($rule->filter)) { if ($rule->name === $this->unresolvedRelatedProperties[$name]) { $object = IcingaService::loadWithAutoIncId( - $rule->get('id'), + $rule->id, $this->connection ); break;