Skip to content

Commit

Permalink
MDL-32442 questionupgrade: error in SQL from postgres systems
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmerrill committed Apr 14, 2012
1 parent 668a499 commit 288893f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/tool/qeupgradehelper/locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -669,5 +669,5 @@ function tool_qeupgradehelper_get_quiz_for_upgrade() {
JOIN {course} c ON c.id = quiz.course
WHERE quiza.preview = 0 AND quiza.needsupgradetonewqe = 1
GROUP BY quiz.id, quiz.name, c.shortname, c.id
ORDER BY quiza.timemodified DESC", array(), IGNORE_MULTIPLE);
ORDER BY MAX(quiza.timemodified) DESC", array(), IGNORE_MULTIPLE);
}

0 comments on commit 288893f

Please sign in to comment.