]> git.mjollnir.org Git - moodle.git/commitdiff
Now the my page retrieves all the fields (modinfo included) from the course,
authorstronk7 <stronk7>
Mon, 23 Jul 2007 15:52:19 +0000 (15:52 +0000)
committerstronk7 <stronk7>
Mon, 23 Jul 2007 15:52:19 +0000 (15:52 +0000)
so print_overview() calls are working again.  MDL-10232

Merged from MOODLE_18_STABLE

my/index.php

index 3a44fbb23f000f58fcb2e423855cfb3809a79fd3..b83209292bb928b83ddc834e5bb56358c4437982 100644 (file)
@@ -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