Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-36966 Assignment: Bug - Student submission appears graded by them…

…selves.

Fix a bug when a student editing his submission after it has been graded, it changes the 'graded by' details to the student's name in the feeback summary
  • Loading branch information...
commit 4c1d7cf9b67eb5e16bf3bd60cd6dd0de571cccec 1 parent 2e791b9
@raymondAntonio raymondAntonio authored damyon committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/assign/locallib.php
View
2  mod/assign/locallib.php
@@ -2192,7 +2192,7 @@ public function view_student_summary($user, $showlinks) {
}
$gradeddate = $gradebookgrade->dategraded;
- $grader = $DB->get_record('user', array('id'=>$gradebookgrade->usermodified));
+ $grader = $DB->get_record('user', array('id'=>$grade->grader));
$feedbackstatus = new assign_feedback_status($gradefordisplay,
$gradeddate,
Please sign in to comment.
Something went wrong with that request. Please try again.