summaryrefslogtreecommitdiffstats
path: root/library/Director/IcingaConfig/ExtensibleSet.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/Director/IcingaConfig/ExtensibleSet.php')
-rw-r--r--library/Director/IcingaConfig/ExtensibleSet.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/Director/IcingaConfig/ExtensibleSet.php b/library/Director/IcingaConfig/ExtensibleSet.php
index 9120816..d52a30e 100644
--- a/library/Director/IcingaConfig/ExtensibleSet.php
+++ b/library/Director/IcingaConfig/ExtensibleSet.php
@@ -50,7 +50,7 @@ class ExtensibleSet
$set->object = $object;
$set->propertyName = $propertyName;
- if ($object->hasBeenLoadedFromDb()) {
+ if ($object->hasBeenLoadedFromDb() && $id = $object->get('id')) {
$set->loadFromDb();
}