mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
FIxed bug where questions weren't being shown in reviews.
This commit is contained in:
parent
17df1ae4bd
commit
33de9f7bdc
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user