Now the my page retrieves all the fields (modinfo included) from

the course, so print_overview() calls are working again.  MDL-10232
This commit is contained in:
stronk7
2007-07-23 15:50:59 +00:00
parent 69860d5d10
commit 439d39348d
+1 -1
View File
@@ -55,7 +55,7 @@
/// The main overview in the middle of the page
// limits the number of courses showing up
$courses = get_my_courses($USER->id, 'visible DESC,sortorder ASC', null, false, 21);
$courses = get_my_courses($USER->id, null, '*', false, 21);
$site = get_site();
$course = $site; //just in case we need the old global $course hack