MDL-23479 survey backup code typo
authordanmarsden <danmarsden>
Wed, 28 Jul 2010 08:49:57 +0000 (08:49 +0000)
committerdanmarsden <danmarsden>
Wed, 28 Jul 2010 08:49:57 +0000 (08:49 +0000)
mod/survey/backup/moodle2/backup_survey_stepslib.php

index c8f0410..6fb9e22 100644 (file)
@@ -43,7 +43,7 @@ class backup_survey_activity_structure_step extends backup_activity_structure_st
 
         $answers = new backup_nested_element('answers');
 
-        $answer = new backup_nested_element('anwser', array('id'), array(
+        $answer = new backup_nested_element('answer', array('id'), array(
             'userid', 'question', 'time', 'answer1',
             'answer2'));