Permalink
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...
1 parent 2e791b9 commit 4c1d7cf9b67eb5e16bf3bd60cd6dd0de571cccec Raymond Wijaya committed with damyon Dec 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assign/locallib.php
View
@@ -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,

0 comments on commit 4c1d7cf

Please sign in to comment.