Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

get_my_courses() - ensure we have groupmode, groupmodeforce in $d_fie…

…lds - calendar/lib.php counts on it
  • Loading branch information...
commit df01c2f9838fe5efb2c2bd09ce461c153abc6c5e 1 parent f08efe8
martinlanghoff authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/datalib.php
View
2  lib/datalib.php
@@ -686,7 +686,7 @@ function get_my_courses($userid, $sort=NULL, $fields=NULL, $doanything=false,$li
// Default parameters
$d_sort = 'visible DESC,sortorder ASC';
- $d_fields = 'id, category, sortorder, shortname, fullname, idnumber, newsitems, teacher, teachers, student, students, guest, startdate, visible, cost, enrol, summary';
+ $d_fields = 'id, category, sortorder, shortname, fullname, idnumber, newsitems, teacher, teachers, student, students, guest, startdate, visible, cost, enrol, summary, groupmode, groupmodeforce';
$usingdefaults = true;
if (is_null($sort)) {
Please sign in to comment.
Something went wrong with that request. Please try again.