Skip to content

Commit

Permalink
IcingaObjectMultiRelations: Set property modified to false when loa…
Browse files Browse the repository at this point in the history
…ded from DB
  • Loading branch information
raviks789 committed Oct 22, 2024
1 parent a6da978 commit 0871c32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/Director/Objects/IcingaObjectMultiRelations.php
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,8 @@ public function setBeingLoadedFromDb()
foreach ($this->relations as $k => $v) {
$this->stored[$k] = clone($v);
}

$this->modified = false;
}

protected function getRelatedClassName()
Expand Down

0 comments on commit 0871c32

Please sign in to comment.