mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
quiz editing: MDL-17455 fix non-unique first column in get records. Thanks Olli for spotting this.
This commit is contained in:
parent
7e1fc57658
commit
5bbdaed2a1
@ -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>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user