IcingaObjectMultiRelations: Set property `modified` to false when loaded from DB

This commit is contained in:
raviks789 2024-08-13 11:43:42 +02:00 committed by Eric Lippmann
parent aa1df8d772
commit c3fd4118d9
1 changed files with 2 additions and 0 deletions

View File

@ -383,6 +383,8 @@ class IcingaObjectMultiRelations implements Iterator, Countable, IcingaConfigRen
foreach ($this->relations as $k => $v) { foreach ($this->relations as $k => $v) {
$this->stored[$k] = clone($v); $this->stored[$k] = clone($v);
} }
$this->modified = false;
} }
protected function getRelatedClassName() protected function getRelatedClassName()