diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index cc31ec6eb5f..93de457e6a4 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -4328,6 +4328,7 @@ class assign { $this->get_grading_status($grade->userid) != ASSIGN_MARKING_WORKFLOW_STATE_RELEASED) { // Remove the grade (if it exists) from the gradebook as it is not 'final'. $grade->grade = -1; + $grade->feedbacktext = ''; } if ($submission != null) {