FIxed a small typo preventing group display
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user