diff --git a/grade/grading/form/guide/guideeditor.php b/grade/grading/form/guide/guideeditor.php index 8580adba712..bcd075441c7 100644 --- a/grade/grading/form/guide/guideeditor.php +++ b/grade/grading/form/guide/guideeditor.php @@ -134,7 +134,7 @@ class moodlequickform_guideeditor extends HTML_QuickForm_input { $html .= $renderer->display_regrade_confirmation($this->getName(), $this->regradeconfirmation, $data['regrade']); } if ($this->validationerrors) { - $html .= $renderer->notification($this->validationerrors, 'error'); + $html .= $renderer->notification($this->validationerrors); } $html .= $renderer->display_guide($data['criteria'], $data['comments'], $data['options'], $mode, $this->getName()); return $html; diff --git a/grade/grading/form/rubric/rubriceditor.php b/grade/grading/form/rubric/rubriceditor.php index 19b1839f53f..25592b8f750 100644 --- a/grade/grading/form/rubric/rubriceditor.php +++ b/grade/grading/form/rubric/rubriceditor.php @@ -138,7 +138,7 @@ class MoodleQuickForm_rubriceditor extends HTML_QuickForm_input { $html .= $renderer->display_regrade_confirmation($this->getName(), $this->regradeconfirmation, $data['regrade']); } if ($this->validationerrors) { - $html .= $renderer->notification($this->validationerrors, 'error'); + $html .= $renderer->notification($this->validationerrors); } $html .= $renderer->display_rubric($data['criteria'], $data['options'], $mode, $this->getName()); return $html;