Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit ff61f14c0454f1a7e05ecd47f7f74d5528fcca31 1 parent 125759d
@raymondAntonio raymondAntonio authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/assign/locallib.php
View
2  mod/assign/locallib.php
@@ -3380,7 +3380,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 ff61f14

Please sign in to comment.
Something went wrong with that request. Please try again.