Permalink
Browse files

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

…le into MOODLE_21_STABLE
  • Loading branch information...
2 parents 50ff77d + 75831af commit 8876dd31d8832a07c519142bb24dc74904cfa8eb @danpoltawski danpoltawski committed Apr 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);
}

0 comments on commit 8876dd3

Please sign in to comment.