mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Fixed obvious typo causing notice
This commit is contained in:
parent
11745964a5
commit
56c2ef2533
1 changed files with 1 additions and 1 deletions
|
@ -304,7 +304,7 @@
|
|||
$cm = get_coursemodule_from_instance("forum", $forum->id, $course->id);
|
||||
$context = get_context_instance(CONTEXT_MODULE, $cm->id);
|
||||
|
||||
if (!groups_course_module_visible($mod)) {
|
||||
if (!groups_course_module_visible($cm)) {
|
||||
continue;
|
||||
}
|
||||
$currentgroup = groups_get_activity_group($cm);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue