From ad1a74e0ed69b8aca20470fa44d6ed6fc7673070 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 16 Dec 2004 11:51:37 +0000 Subject: [PATCH] Protect review page as well --- mod/quiz/review.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mod/quiz/review.php b/mod/quiz/review.php index fb136e3678..a9ca26afce 100644 --- a/mod/quiz/review.php +++ b/mod/quiz/review.php @@ -82,6 +82,12 @@ print_heading($quiz->name); +/// Include Javascript protection for this page if required + + if (!empty($quiz->popup)) { + include("protect_js.php"); + } + if (!($questions = quiz_get_attempt_questions($quiz, $attempt))) { error("Unable to get questions from database for quiz $quiz->id attempt $attempt->id number $attempt->attempt"); } -- 2.39.5