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 authored and lippserd committed Nov 7, 2024
1 parent aa1df8d commit c3fd411
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 c3fd411

Please sign in to comment.