Create a quiz
Add at least a question (I added only one multiple choice question)
Go to preview the quiz
Push the button "Preview quiz now"
Provide an answer
Push the "Submit all and finish"
Close the java alert message
What I get WITH DEBUGGER = ALL is:
Notice: Undefined variable: ispreviewing in moodle19/mod/quiz/review.php on line 127