mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
Fixed bug getting group users
This commit is contained in:
parent
ac8abb5f6a
commit
2969a73c00
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@
|
||||||
/// Print out the journal entries
|
/// Print out the journal entries
|
||||||
|
|
||||||
if ($currentgroup) {
|
if ($currentgroup) {
|
||||||
$users = get_course_students($course->id, "", "", 0, 99999, "", "", $currentgroup);
|
$users = get_users_in_group($currentgroup);
|
||||||
} else {
|
} else {
|
||||||
$users = get_course_students($course->id);
|
$users = get_course_students($course->id);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue