diff --git a/course/edit_form.php b/course/edit_form.php index 89497a29951..c8f8bc2d59f 100644 --- a/course/edit_form.php +++ b/course/edit_form.php @@ -67,7 +67,6 @@ class course_edit_form extends moodleform { $mform->addElement('hidden', 'category', null); } $mform->setHelpButton('category', array('coursecategory', get_string('category'))); - $mform->setDefault('category', $courseconfig->category); $mform->setType('category', PARAM_INT); $fullname = get_string('defaultcoursefullname');