Permalink
Browse files

set correctly default value for tolerencetype for answers

  • Loading branch information...
1 parent 7ba648a commit 62fc4a966f4448156b05945ae9237e852e35e29b pichetp committed Jun 12, 2007
Showing with 1 addition and 0 deletions.
  1. +1 −0 question/type/calculated/edit_calculated_form.php
@@ -108,6 +108,7 @@ function set_data($question) {
$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;

0 comments on commit 62fc4a9

Please sign in to comment.