mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-34783-MOODLE_23_STABLE-1' of git://git.luns.net.uk/moodle into MOODLE_23_STABLE
This commit is contained in:
commit
428b30ce5e
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class block_course_overview extends block_base {
|
|||
$courses_limit = $courses_limit + 1;
|
||||
}
|
||||
|
||||
$courses = enrol_get_my_courses('id, shortname, modinfo', 'visible DESC,sortorder ASC', $courses_limit);
|
||||
$courses = enrol_get_my_courses('id, shortname, modinfo, sectioncache', 'visible DESC,sortorder ASC', $courses_limit);
|
||||
$site = get_site();
|
||||
$course = $site; //just in case we need the old global $course hack
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue