Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'MDL-35698_23' of git://github.com/timhunt/moodle into M…

…OODLE_23_STABLE
  • Loading branch information...
commit 09e49e5c6edb384e0b51a498b7268ccfa617e8cc 2 parents 8aaf7ad + 2d04a1f
Dan Poltawski danpoltawski authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 mod/quiz/cronlib.php
4 mod/quiz/cronlib.php
@@ -117,8 +117,8 @@ protected function get_list_of_overdue_attempts($processfrom, $processto) {
117 117 FROM {quiz_attempts} iquiza
118 118 JOIN {quiz} quiz ON quiz.id = iquiza.quiz
119 119 LEFT JOIN {quiz_overrides} quo ON quo.quiz = quiz.id AND quo.userid = iquiza.userid
120   - LEFT JOIN {quiz_overrides} qgo ON qgo.quiz = quiz.id
121   - LEFT JOIN {groups_members} gm ON gm.userid = iquiza.userid AND gm.groupid = qgo.groupid
  120 + LEFT JOIN {groups_members} gm ON gm.userid = iquiza.userid
  121 + LEFT JOIN {quiz_overrides} qgo ON qgo.quiz = quiz.id AND qgo.groupid = gm.groupid
122 122
123 123 WHERE iquiza.state IN ('inprogress', 'overdue')
124 124 AND iquiza.timemodified >= :processfrom

0 comments on commit 09e49e5

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