From 439d39348d050a7c317ed6448fb67a97fe1312ad Mon Sep 17 00:00:00 2001 From: stronk7 Date: Mon, 23 Jul 2007 15:50:59 +0000 Subject: [PATCH] Now the my page retrieves all the fields (modinfo included) from the course, so print_overview() calls are working again. MDL-10232 --- my/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/my/index.php b/my/index.php index 9c8b0354207..5c3e75d6512 100644 --- a/my/index.php +++ b/my/index.php @@ -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