Users can take a newly created quiz that has no questions assigned to it. Additionally, it seems to grab all questions in the system when building the quiz questions.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | quiz_no_questions.patch | 1.29 KB | seanbfuller |
Users can take a newly created quiz that has no questions assigned to it. Additionally, it seems to grab all questions in the system when building the quiz questions.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | quiz_no_questions.patch | 1.29 KB | seanbfuller |
Comments
Comment #1
seanbfuller commentedThis patch adds a check in quiz_take_quiz, right after quiz_build_question_list is called, to make sure questions have been returned. If not, it displays and error and returns before setting anything in the session.
Comment #2
seanbfuller commentedComment #3
seanbfuller commentedCommitted to HEAD.
Comment #4
(not verified) commented