IcingaObject: no loop detection on unstored...

...objects

refs #11803
This commit is contained in:
Thomas Gelf 2016-10-12 14:26:44 +00:00
parent 7993724dcb
commit 05f991c585
1 changed files with 3 additions and 1 deletions

View File

@ -946,7 +946,9 @@ abstract class IcingaObject extends DbObject implements IcingaConfigRenderer
} }
// Force exception // Force exception
$this->triggerLoopDetection(); if ($this->hasBeenLoadedFromDb()) {
$this->triggerLoopDetection();
}
$vals = array(); $vals = array();
$vals['_MERGED_'] = (object) array(); $vals['_MERGED_'] = (object) array();