MDL-36966 Assignment: Bug - Student submission appears graded by themselves.

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
This commit is contained in:
Raymond Wijaya
2012-12-18 08:47:14 +08:00
committed by Damyon Wiese
parent 2e791b966d
commit 4c1d7cf9b6
+1 -1
View File
@@ -2192,7 +2192,7 @@ class assign {
}
$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,