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 (#2907)
  • Loading branch information
lippserd authored Nov 7, 2024
2 parents aa1df8d + c3fd411 commit 340e3d5
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 340e3d5

Please sign in to comment.