mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Fixed bug selecting students in group
This commit is contained in:
parent
2969a73c00
commit
128452bbd8
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@
|
||||||
$teachers = get_course_teachers($course->id);
|
$teachers = get_course_teachers($course->id);
|
||||||
|
|
||||||
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