From: skodak Date: Tue, 23 Jan 2007 10:04:59 +0000 (+0000) Subject: MDL-8096 fixed country selection X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=f017ea30451e464754f020b3e900b84f0d312871;p=moodle.git MDL-8096 fixed country selection --- 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');