mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge branch '5.2' into 5
This commit is contained in:
commit
57fb06a1a9
@ -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')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user