diff --git a/code/editor/EditableCountryDropdownField.php b/code/editor/EditableCountryDropdownField.php index dd7b312..c0d235e 100644 --- a/code/editor/EditableCountryDropdownField.php +++ b/code/editor/EditableCountryDropdownField.php @@ -12,7 +12,7 @@ class EditableCountryDropdownField extends EditableFormField { static $plural_name = 'Country Dropdowns'; public function getFormField() { - return new DropdownField($this->Name, $this->Title, Geoip::getCountryDropDown()); + return new CountryDropdownField($this->Name, $this->Title); } public function getValueFromData($data) {