]> git.mjollnir.org Git - moodle.git/commitdiff
FIxed bug where questions weren't being shown in reviews.
authormoodler <moodler>
Thu, 15 May 2003 17:01:35 +0000 (17:01 +0000)
committermoodler <moodler>
Thu, 15 May 2003 17:01:35 +0000 (17:01 +0000)
mod/quiz/lib.php

index 0169bf566cbd84fcc5d028cda1b607926ed8c751..3da7cf3608d3acd674bc2dc66ae136a4c5dfa6e9 100644 (file)
@@ -302,7 +302,7 @@ function quiz_get_attempt_responses($attempt, $quiz) {
 // for regrading using quiz_grade_attempt_results()
     global $CFG;
    
-    if (!$responses = get_records_sql("SELECT q.id, q.qtype, q.category, r.answer 
+    if (!$responses = get_records_sql("SELECT q.id, q.qtype, q.category, q.questiontext, r.answer 
                                         FROM {$CFG->prefix}quiz_responses r, 
                                              {$CFG->prefix}quiz_questions q
                                        WHERE r.attempt = '$attempt->id'