mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00:00
Merge branch '5.3' into 5.4
This commit is contained in:
commit
1ac3f5a97c
@ -84,7 +84,7 @@ class EditableCountryDropdownField extends EditableFormField
|
||||
|
||||
public function getValueFromData($data)
|
||||
{
|
||||
if (isset($data[$this->Name])) {
|
||||
if (!empty($data[$this->Name])) {
|
||||
$source = $this->getFormField()->getSource();
|
||||
return $source[$data[$this->Name]];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user