Browse files

Merge branch 'MDL-32442_m22' of git://github.com/merrill-oakland/mood…

…le into MOODLE_22_STABLE
  • Loading branch information...
2 parents 0656d45 + a68b036 commit 253b5f4d7e71a5fbc5da349b4a8a69bc7e81f037 @danpoltawski danpoltawski committed Apr 16, 2012
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);
}

0 comments on commit 253b5f4

Please sign in to comment.