Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-32442 questionupgrade: error in SQL from postgres systems

  • Loading branch information...
commit a68b0363bfb6f594e1f2f4d92541d3753cb7807d 1 parent b1d3043
@merrill-oakland merrill-oakland authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  admin/tool/qeupgradehelper/locallib.php
View
2  admin/tool/qeupgradehelper/locallib.php
@@ -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);
}
Please sign in to comment.
Something went wrong with that request. Please try again.