mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 20:36:42 +01:00
Merge branch 'MDL-23425' of git://git.luns.net.uk/moodle
This commit is contained in:
commit
1cc0c36e04
@ -433,7 +433,7 @@
|
||||
echo $OUTPUT->single_button(new moodle_url('edit.php', $options), get_string('addnewcourse'), 'get');
|
||||
}
|
||||
|
||||
if (!empty($CFG->enablecourserequests) && $category->id == $CFG->enablecourserequests) {
|
||||
if (!empty($CFG->enablecourserequests) && $category->id == $CFG->defaultrequestcategory) {
|
||||
print_course_request_buttons(get_context_instance(CONTEXT_SYSTEM));
|
||||
}
|
||||
echo '</div>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user