From e153801c1ca9c8274f8b2d645a045205c69e34f4 Mon Sep 17 00:00:00 2001
From: tjhunt <tjhunt>
Date: Thu, 10 Jul 2008 17:34:18 +0000
Subject: [PATCH] Remove debug code.

---
 mod/quiz/attemptlib.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mod/quiz/attemptlib.php b/mod/quiz/attemptlib.php
index 7964ecb069..490ceba307 100644
--- a/mod/quiz/attemptlib.php
+++ b/mod/quiz/attemptlib.php
@@ -195,7 +195,7 @@ class quiz {
         if ($page === 'all') {
             $list = $this->questionids;
         } else {
-            $list = $this->pagequestionids[0];
+            $list = $this->pagequestionids[$page];
         }
         // Clone the array, so our private arrays cannot be modified.
         $result = array();
-- 
2.39.5