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 75831af99e8879f87f7140940beb9577af2a5abf 1 parent 8e35d0a
@merrill-oakland merrill-oakland authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  local/qeupgradehelper/locallib.php
View
2  local/qeupgradehelper/locallib.php
@@ -669,5 +669,5 @@ function local_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.