mod_quiz MDL-26178 it let you try to preview a quiz with several empty pages.
authorTim Hunt <T.J.Hunt@open.ac.uk>
Sat, 29 Jan 2011 12:11:10 +0000 (12:11 +0000)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Sat, 29 Jan 2011 12:11:10 +0000 (12:11 +0000)
commit2cb01c9205044e67ed8431b023898a7d5ca22912
tree011a9c15a99993c003cb6ad0231dec98d3825a06
parent8cdc85ac625da854e91b1eaf76a917ea17ba4c32
mod_quiz MDL-26178 it let you try to preview a quiz with several empty pages.

You should not be allowed to preview an empty quiz, to make it correctly detect this case.
mod/quiz/attemptlib.php
mod/quiz/view.php