set correctly default value for tolerencetype for answers merge from 1.8

This commit is contained in:
pichetp 2007-06-12 15:53:08 +00:00
parent b5c2f0afff
commit f7089b63ef

View File

@ -108,6 +108,7 @@ class question_edit_calculated_form extends question_edit_form {
$default_values['answers['.$key.']'] = $answer->answer;
$default_values['fraction['.$key.']'] = $answer->fraction;
$default_values['tolerance['.$key.']'] = $answer->tolerance;
$default_values['tolerancetype['.$key.']'] = $answer->tolerancetype;
$default_values['correctanswerlength['.$key.']'] = $answer->correctanswerlength;
$default_values['correctanswerformat['.$key.']'] = $answer->correctanswerformat;
$default_values['feedback['.$key.']'] = $answer->feedback;