Merge branch '5.2' into 5

This commit is contained in:
github-actions 2024-06-30 08:41:27 +00:00
commit 57fb06a1a9

View File

@ -397,7 +397,6 @@ trait SearchableDropdownTrait
$record->$classNameField = $ids ? $record->ClassName : ''; $record->$classNameField = $ids ? $record->ClassName : '';
} }
} }
$record->write();
} else { } else {
// has_many / many_many field // has_many / many_many field
if (!method_exists($record, 'hasMethod')) { if (!method_exists($record, 'hasMethod')) {