FIxed bug where questions weren't being shown in reviews.

This commit is contained in:
moodler 2003-05-15 17:01:35 +00:00
parent 17df1ae4bd
commit 33de9f7bdc

View 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'