mirror of
https://github.com/moodle/moodle.git
synced 2025-02-01 13:28:17 +01:00
MDL-32442 questionupgrade: error in SQL from postgres systems
This commit is contained in:
parent
668a499d89
commit
288893f3a7
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user