diff --git a/code/Model/EditableFormField/EditableCountryDropdownField.php b/code/Model/EditableFormField/EditableCountryDropdownField.php index 4683363..ce3273e 100644 --- a/code/Model/EditableFormField/EditableCountryDropdownField.php +++ b/code/Model/EditableFormField/EditableCountryDropdownField.php @@ -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]]; }