MDL-32757 / MDL-3030 quiz: SQL typo breaks quiz editing.

This commit is contained in:
Tim Hunt 2012-05-03 19:45:18 +01:00
parent e50de8764b
commit 070511062a

View File

@ -626,7 +626,7 @@ function quiz_update_all_final_grades($quiz) {
FROM {quiz_attempts} iquiza
WHERE
iquiza.state = :istatefinished
iquiza.state = :istatefinished AND
iquiza.preview = 0 AND
iquiza.quiz = :iquizid