]> git.mjollnir.org Git - moodle.git/commitdiff
Remove debug code.
authortjhunt <tjhunt>
Thu, 10 Jul 2008 17:34:18 +0000 (17:34 +0000)
committertjhunt <tjhunt>
Thu, 10 Jul 2008 17:34:18 +0000 (17:34 +0000)
mod/quiz/attemptlib.php

index 7964ecb069208071cd9fe8d75152d3d3266fbae2..490ceba3071c1be099ecfb668fb30120a058b4d0 100644 (file)
@@ -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();