Merge branch 'MDL-77542-401' of https://github.com/paulholden/moodle into MOODLE_401_STABLE

This commit is contained in:
Ilya Tregubov 2023-06-15 10:36:34 +08:00
commit 7e523dfff9
No known key found for this signature in database
GPG Key ID: 0F58186F748E55C1

View File

@ -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) {