mirror of
https://github.com/moodle/moodle.git
synced 2025-03-19 23:20:09 +01:00
Merge branch 'MDL-78156' of https://github.com/stronk7/moodle
This commit is contained in:
commit
9d8e8d5c5c
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user