Merge branch '5.2' into 5.3

This commit is contained in:
Robbie Averill 2019-05-02 11:02:12 +12:00
commit 5f3014ac54
1 changed files with 1 additions and 1 deletions

View File

@ -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]];
}