mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-32757 / MDL-3030 quiz: SQL typo breaks quiz editing.
This commit is contained in:
parent
e50de8764b
commit
070511062a
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user