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 3f897939b23d5f429a4c73e8d900e64e320778f2 1 parent 3124654
@raymondAntonio raymondAntonio authored samhemelryk committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/assign/locallib.php
View
2  mod/assign/locallib.php
@@ -2874,7 +2874,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.