8000 discardChanges: Discards relations · thecodingmachine/tdbm@58964b1 · GitHub
[go: up one dir, main page]

Skip to conten 8000 t

Commit 58964b1

Browse files
committed
discardChanges: Discards relations
1 parent 603e031 commit 58964b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/AbstractTDBMObject.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@ public function discardChanges(): void
553553
}
554554

555555
$this->_setStatus(TDBMObjectStateEnum::STATE_NOT_LOADED);
556+
$this->manyToOneRelationships = [];
556557
}
557558

558559
/**

0 commit comments

Comments
 (0)
0