We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72daaa5 commit e9706f6Copy full SHA for e9706f6
src/Database/Database.php
@@ -4580,7 +4580,7 @@ public function updateDocuments(
4580
$updates['$createdAt'] = $updates->getCreatedAt();
4581
}
4582
4583
- if ($updates->getCreatedBy() == null) {
+ if ($updates->getCreatedBy() === null) {
4584
unset($updates['$createdBy']);
4585
} else {
4586
$updates['$createdBy'] = $updates->getCreatedBy();
0 commit comments