]> git.mjollnir.org Git - moodle.git/commitdiff
Changed to allow correct responses (match_sub) to be restored
authorstronk7 <stronk7>
Thu, 3 Jul 2003 23:04:26 +0000 (23:04 +0000)
committerstronk7 <stronk7>
Thu, 3 Jul 2003 23:04:26 +0000 (23:04 +0000)
backup/mod/quiz/backuplib.php

index f06c4dbc86a659fb6713d1d35816fe62606c696b..d697e35dfa1c06013cb4df8972756b1b1b654ede 100644 (file)
             foreach ($matchs as $match) {
                 $status =fwrite ($bf,start_tag("MATCH",7,true));
                 //Print match contents
+                fwrite ($bf,full_tag("ID",8,false,$match->id));
                 fwrite ($bf,full_tag("QUESTIONTEXT",8,false,$match->questiontext));
                 fwrite ($bf,full_tag("ANSWERTEXT",8,false,$match->answertext));
                 $status =fwrite ($bf,end_tag("MATCH",7,true));