mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
MDL-39719 course: Pointing to wrong category string in requests
This commit is contained in:
parent
e2637d1da3
commit
4cc4ca963c
@ -71,9 +71,9 @@ class course_request_form extends moodleform {
|
||||
|
||||
if (!empty($CFG->requestcategoryselection)) {
|
||||
$displaylist = coursecat::make_categories_list();
|
||||
$mform->addElement('select', 'category', get_string('category'), $displaylist);
|
||||
$mform->addElement('select', 'category', get_string('coursecategory'), $displaylist);
|
||||
$mform->setDefault('category', $CFG->defaultrequestcategory);
|
||||
$mform->addHelpButton('category', 'category');
|
||||
$mform->addHelpButton('category', 'coursecategory');
|
||||
}
|
||||
|
||||
$mform->addElement('editor', 'summary_editor', get_string('summary'), null, course_request::summary_editor_options());
|
||||
|
Loading…
x
Reference in New Issue
Block a user