Skip to content

Commit

Permalink
Merge branch 'MDL-78302-401' of https://github.com/paulholden/moodle
Browse files Browse the repository at this point in the history
…into MOODLE_401_STABLE
  • Loading branch information
HuongNV13 committed Aug 24, 2023
2 parents 87a9b1c + ecee875 commit f12e010
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod/forum/view.php
Expand Up @@ -188,7 +188,7 @@
$groupid = groups_get_activity_group($cm, true) ?: null;
$gradeobj = (object) [
'contextid' => $forum->get_context()->id,
'cmid' => $cmid,
'cmid' => $forum->get_course_module_record()->id,
'name' => format_string($forum->get_name()),
'courseid' => $course->id,
'coursename' => format_string($course->shortname),
Expand All @@ -206,7 +206,7 @@
$groupid = groups_get_activity_group($cm, true) ?: null;
$gradeobj = (object) [
'contextid' => $forum->get_context()->id,
'cmid' => $cmid,
'cmid' => $forum->get_course_module_record()->id,
'name' => format_string($forum->get_name()),
'courseid' => $course->id,
'coursename' => format_string($course->shortname),
Expand Down

0 comments on commit f12e010

Please sign in to comment.