Merge branch 'MDL-78156_402' of https://github.com/stronk7/moodle into MOODLE_402_STABLE
This commit is contained in:
@@ -489,6 +489,8 @@ function groups_get_user_groups($courseid, $userid=0) {
|
||||
$params = array_merge($params, $visibilityparams);
|
||||
}
|
||||
|
||||
$sql .= ' ORDER BY g.id'; // To make results deterministic.
|
||||
|
||||
$rs = $DB->get_recordset_sql($sql, $params);
|
||||
|
||||
$usergroups = array();
|
||||
|
||||
Reference in New Issue
Block a user