Skip to content

Commit 175757f

Browse files
committed
Partial update
1 parent d3422bb commit 175757f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Database/Database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4628,7 +4628,7 @@ private function updateDocumentRelationships(Document $collection, Document $old
46284628
$this->skipRelationships(fn () => $this->updateDocument(
46294629
$relatedCollection->getId(),
46304630
$oldRelated->getId(),
4631-
$oldRelated->setAttribute($twoWayKey, null)
4631+
new Document([$twoWayKey => null])
46324632
));
46334633
}
46344634
break;

0 commit comments

Comments
 (0)