mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
FIxed a small typo preventing group display
This commit is contained in:
parent
c5a05b9598
commit
1e80bd71a4
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
|
||||
if ($group) {
|
||||
if (isteacheredit($course->id) or $course->groupmode == VISIBLEGROUPS) {
|
||||
if (! $group = get_record("groups", "id", $group, "course", $course->id)) {
|
||||
if (! $group = get_record("groups", "id", $group, "courseid", $course->id)) {
|
||||
error('Specified group could not be found!', "groups.php?id=$course->id");
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue