MDL-66893 mod_forum: update navigation bar in grader UI
[moodle.git] / mod / forum / view.php
index d769b7f..aa8b6e7 100644 (file)
@@ -115,6 +115,8 @@ if ($capabilitymanager->can_grade($USER)) {
             'contextid' => $forum->get_context()->id,
             'cmid' => $cmid,
             'name' => $forum->get_name(),
+            'courseid' => $course->id,
+            'coursename' => $course->shortname,
             'groupid' => $groupid,
             'gradingcomponent' => $forumgradeitem->get_grading_component_name(),
             'gradingcomponentsubtype' => $forumgradeitem->get_grading_component_subtype(),