Skip to content

Commit

Permalink
Now the my page retrieves all the fields (modinfo included) from the …
Browse files Browse the repository at this point in the history
…course,

so print_overview() calls are working again.  MDL-10232

Merged from MOODLE_18_STABLE
  • Loading branch information
stronk7 committed Jul 23, 2007
1 parent c31f631 commit 374bb2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion my/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 374bb2b

Please sign in to comment.