From afe9d11746061dab784e7498453ba2e4b70510c7 Mon Sep 17 00:00:00 2001 From: Paul Holden Date: Fri, 19 May 2023 09:36:52 +0100 Subject: [PATCH] MDL-77542 mod_assign: remove duplicate grade heading from grader. It's already part of the subsequent rendered form. --- mod/assign/locallib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index fe992b53c9d..9ad5098e0e2 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -4118,7 +4118,7 @@ class assign { // and show errors. $mform->is_validated(); } - $o .= $this->get_renderer()->heading(get_string('gradenoun'), 3); + $o .= $this->get_renderer()->render(new assign_form('gradingform', $mform)); if (count($allsubmissions) > 1) { @@ -4304,7 +4304,7 @@ class assign { '', array('class'=>'gradeform')); } - $o .= $this->get_renderer()->heading(get_string('gradenoun'), 3); + $o .= $this->get_renderer()->render(new assign_form('gradingform', $mform)); if (count($allsubmissions) > 1 && $attemptnumber == -1) {