diff --git a/code/Model/EditableFormField/EditableCountryDropdownField.php b/code/Model/EditableFormField/EditableCountryDropdownField.php index f78bae0..849d585 100644 --- a/code/Model/EditableFormField/EditableCountryDropdownField.php +++ b/code/Model/EditableFormField/EditableCountryDropdownField.php @@ -47,7 +47,7 @@ class EditableCountryDropdownField extends EditableFormField public function getValueFromData($data) { - if (isset($data[$this->Name]) && !empty($data[$this->Name])) { + if (!empty($data[$this->Name])) { $source = $this->getFormField()->getSource(); return $source[$data[$this->Name]]; }