mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Merge branch 'MDL-34783-master-1' of git://git.luns.net.uk/moodle
This commit is contained in:
commit
92886a8e14
@ -125,7 +125,7 @@ function block_course_overview_get_sorted_courses() {
|
||||
|
||||
$limit = block_course_overview_get_max_user_courses();
|
||||
|
||||
$courses = enrol_get_my_courses('id, shortname, fullname, modinfo');
|
||||
$courses = enrol_get_my_courses('id, shortname, fullname, modinfo, sectioncache');
|
||||
$site = get_site();
|
||||
|
||||
if (array_key_exists($site->id,$courses)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user