Skip to content

Commit

Permalink
Merge pull request #11287 from johannesx75/fix-remove-write-from-Sear…
Browse files Browse the repository at this point in the history
…chableDropdownTrait

FIX remove write from SearchableDropdownTrait
  • Loading branch information
GuySartorelli authored Jun 26, 2024
2 parents 23c1a0f + ce5cfca commit e677b12
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Forms/SearchableDropdownTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,6 @@ public function saveInto(DataObjectInterface $record): void
$record->$classNameField = $ids ? $record->ClassName : '';
}
}
$record->write();
} else {
// has_many / many_many field
if (!method_exists($record, 'hasMethod')) {
Expand Down

0 comments on commit e677b12

Please sign in to comment.