Skip to content

Commit

Permalink
MDL-11825 - Force penaltyfactor to 1 for truefalse questions on GIFT …
Browse files Browse the repository at this point in the history
…import, as is done on the editing form. Merged from MOODLE_18_STABLE.
  • Loading branch information
tjhunt committed Oct 25, 2007
1 parent 9f06454 commit 0d4c63d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions question/format/gift/format.php
Expand Up @@ -380,6 +380,7 @@ function readquestion($lines) {
$question->feedbacktrue = $feedback['wrong'];
}

$question->penalty = 1;
$question->correctanswer = $question->answer;

return $question;
Expand Down

0 comments on commit 0d4c63d

Please sign in to comment.