Merge branch 'MDL-67721-master' of git://github.com/rezaies/moodle

This commit is contained in:
Sara Arjona
2020-02-03 14:52:16 +01:00
+1 -1
View File
@@ -204,7 +204,7 @@ switch ($forum->get_type()) {
'gradingcomponent' => $forumgradeitem->get_grading_component_name(),
'gradingcomponentsubtype' => $forumgradeitem->get_grading_component_subtype(),
];
$OUTPUT->render_from_template('mod_forum/grades/view_grade_button', $gradeobj);
echo $OUTPUT->render_from_template('mod_forum/grades/view_grade_button', $gradeobj);
}
}
$discussion = $discussionvault->get_last_discussion_in_forum($forum);