From f017ea30451e464754f020b3e900b84f0d312871 Mon Sep 17 00:00:00 2001 From: skodak Date: Tue, 23 Jan 2007 10:04:59 +0000 Subject: [PATCH] MDL-8096 fixed country selection --- user/edit_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/edit_form.php b/user/edit_form.php index 444d225292..0d62646f9f 100644 --- a/user/edit_form.php +++ b/user/edit_form.php @@ -183,7 +183,7 @@ class user_edit_form extends moodleform { $choices = get_list_of_countries(); - $choices[0] = get_string('selectacountry').'...'; + $choices= array(''=>get_string('selectacountry').'...') + $choices; $mform->addElement('select', 'country', get_string('selectacountry'), $choices); $mform->setType('country', PARAM_ALPHA); $mform->addRule('country', $strrequired, 'required', null, 'client'); -- 2.39.5