quiz editing: MDL-17455 fix non-unique first column in get records. Thanks Olli for spotting this.

This commit is contained in:
tjhunt 2009-02-12 05:04:19 +00:00
parent 7e1fc57658
commit 5bbdaed2a1

View File

@ -748,7 +748,7 @@ function quiz_print_randomquestion(&$question, &$pageurl, &$quiz,$quiz_qbanktool
$questionidstoshow[] = $a->id;
}
$questionstoshow = $DB->get_records_list('question', 'id', $questionidstoshow,
'', 'qtype,name,questiontext,questiontextformat');
'', 'id,qtype,name,questiontext,questiontextformat');
// list them,
echo '<ul>';