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-24 11:18:43 +13:00
committed by Sam Hemelryk
parent 3124654247
commit 3f897939b2
+1 -1
View File
@@ -2874,7 +2874,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,