Permalink
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...
1 parent a3ab18c commit 0a665649031721f3e8f0bb52701b08725b27b732 Raymond Wijaya committed Sep 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/assign/locallib.php
View
@@ -4341,7 +4341,7 @@ public function get_user_grades_for_gradebook($userid) {
$graderesults = $DB->get_recordset_sql('SELECT u.id 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 u.id = s.userid and s.assignment = ?
- LEFT JOIN {assign_grades} g ON u.id = g.userid and g.assignment = ?
+ JOIN {assign_grades} g ON u.id = g.userid and g.assignment = ?
' . $where, array($assignmentid, $assignmentid, $userid));

0 comments on commit 0a66564

Please sign in to comment.