Merge branch 'MDL-32442' of git://github.com/merrill-oakland/moodle

This commit is contained in:
Dan Poltawski 2012-04-16 10:45:02 +08:00
commit 20dcbbf26a

View File

@ -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);
}