From: stronk7 Date: Mon, 30 Jun 2003 21:44:36 +0000 (+0000) Subject: Little bug in randomsamatch questions. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=cb0d53106ef62ebdb4a7b010c872e8981cc5b36d;p=moodle.git Little bug in randomsamatch questions. --- diff --git a/backup/mod/quiz/restorelib.php b/backup/mod/quiz/restorelib.php index 6ba9d671c9..b0b5401e8b 100644 --- a/backup/mod/quiz/restorelib.php +++ b/backup/mod/quiz/restorelib.php @@ -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);