mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
Merge branch 'MDL-75713-master' of https://github.com/davewoloszyn/moodle
This commit is contained in:
commit
4fcea7ad56
@ -2445,7 +2445,7 @@ function calendar_get_default_courses($courseid = null, $fields = '*', $canmanag
|
||||
|
||||
$courses = get_courses('all', 'c.shortname', implode(',', $prefixedfields));
|
||||
} else {
|
||||
$courses = enrol_get_users_courses($userid, true, $fields);
|
||||
$courses = enrol_get_users_courses($userid, true, $fields, 'c.shortname');
|
||||
}
|
||||
|
||||
if ($courseid && $courseid != SITEID) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user