Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
Raymond Antonio Wijaya raymondAntonio authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  mod/assign/locallib.php
2  mod/assign/locallib.php
@@ -3380,7 +3380,7 @@ public function get_user_grades_for_gradebook($userid) {
3380 3380 $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
3381 3381 FROM {user} u
3382 3382 LEFT JOIN {assign_submission} s ON u.id = s.userid and s.assignment = ?
3383   - LEFT JOIN {assign_grades} g ON u.id = g.userid and g.assignment = ?
  3383 + JOIN {assign_grades} g ON u.id = g.userid and g.assignment = ?
3384 3384 ' . $where, array($assignmentid, $assignmentid, $userid));
3385 3385
3386 3386

0 comments on commit ff61f14

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