]> git.mjollnir.org Git - moodle.git/commitdiff
Little bug in randomsamatch questions.
authorstronk7 <stronk7>
Mon, 30 Jun 2003 21:44:36 +0000 (21:44 +0000)
committerstronk7 <stronk7>
Mon, 30 Jun 2003 21:44:36 +0000 (21:44 +0000)
backup/mod/quiz/restorelib.php

index 6ba9d671c9c5d2c4f7a912b5b937d9d0b4ca8085..b0b5401e8b6152c90075919feaf1167e2f296038 100644 (file)
 
             //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);