Merge branch '5.2' into 5.3
This commit is contained in:
commit
5f3014ac54
|
@ -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…
Reference in New Issue