Permalink
Browse files

MDL-11825 - Force penaltyfactor to 1 for truefalse questions on GIFT …

…import, as is done on the editing form.
  • Loading branch information...
1 parent 5fa1dcd commit f312622c4e28e3a7f659ebedbadd27e68f9e16c7 tjhunt committed Oct 25, 2007
Showing with 1 addition and 0 deletions.
  1. +1 −0 question/format/gift/format.php
@@ -377,6 +377,7 @@ function readquestion($lines) {
$question->feedbacktrue = $feedback['wrong'];
}
+ $question->penalty = 1;
$question->correctanswer = $question->answer;
return $question;

0 comments on commit f312622

Please sign in to comment.