mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 20:53:53 +01:00
Little bug in randomsamatch questions.
This commit is contained in:
parent
4f93ac2254
commit
cb0d53106e
@ -506,7 +506,7 @@
|
||||
|
||||
//Now, build the QUIZ_RANDOMSAMATCH record structure
|
||||
$randomsamatch->question = $new_question_id;
|
||||
$randomsamatch->choose = backup_todb($mul_info['#']['CHOOSE']['0']['#']);
|
||||
$randomsamatch->choose = backup_todb($ran_info['#']['CHOOSE']['0']['#']);
|
||||
|
||||
//The structure is equal to the db, so insert the quiz_randomsamatch
|
||||
$newid = insert_record ("quiz_randomsamatch",$randomsamatch);
|
||||
|
Loading…
x
Reference in New Issue
Block a user