Permalink
Browse files

MDL-54802 quiz: fix bad whitespace

  • Loading branch information...
danpoltawski committed Oct 3, 2016
1 parent df42740 commit 8edc190aae2c966120b0e4b5c0ff2c3e39c8cfdb
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/quiz/db/upgrade.php
View
@@ -936,10 +936,10 @@ function xmldb_quiz_upgrade($oldversion) {
// Find quizzes with the combination of require passing grade and grade to pass 0.
$quizzes = $DB->get_records_sql("
SELECT gi.id, gi.iteminstance
FROM {quiz} q
FROM {quiz} q
INNER JOIN {course_modules} cm ON q.id = cm.instance
INNER JOIN {grade_items} gi ON q.id = gi.iteminstance
WHERE q.completionpass = 1
WHERE q.completionpass = 1
AND gi.gradepass = 0
AND cm.completiongradeitemnumber IS NULL");
if ($quizzes) {

0 comments on commit 8edc190

Please sign in to comment.