From 374bb2b6c50f89a562366f9e40bd10c87eb44828 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Mon, 23 Jul 2007 15:52:19 +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 Merged from MOODLE_18_STABLE --- my/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/my/index.php b/my/index.php index 3a44fbb23f..b83209292b 100644 --- a/my/index.php +++ b/my/index.php @@ -62,7 +62,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 -- 2.39.5