Skip to content
Browse files

MDL-35252: Fix a bug that creates unneccessary rows in grade_grades t…

…able when unchecking 'overridden' check box in gradebook update
  • Loading branch information
Raymond Wijaya
Raymond Wijaya committed Sep 12, 2012
1 parent a3ab18c commit 0a665649031721f3e8f0bb52701b08725b27b732
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assign/locallib.php
@@ -4341,7 +4341,7 @@ public function get_user_grades_for_gradebook($userid) {
$graderesults = $DB->get_recordset_sql('SELECT as userid, s.timemodified as datesubmitted, g.grade as rawgrade, g.timemodified as dategraded, g.grader as usermodified
FROM {user} u
LEFT JOIN {assign_submission} s ON = s.userid and s.assignment = ?
LEFT JOIN {assign_grades} g ON = g.userid and g.assignment = ?
JOIN {assign_grades} g ON = g.userid and g.assignment = ?
' . $where, array($assignmentid, $assignmentid, $userid));

0 comments on commit 0a66564

Please sign in to comment.
You can’t perform that action at this time.