MDL-11825 - Force penaltyfactor to 1 for truefalse questions on GIFT import, as is done on the editing form.

This commit is contained in:
tjhunt
2007-10-25 09:42:19 +00:00
parent 5fa1dcdb43
commit f312622c4e
+1
View File
@@ -377,6 +377,7 @@ class qformat_gift extends qformat_default {
$question->feedbacktrue = $feedback['wrong'];
}
$question->penalty = 1;
$question->correctanswer = $question->answer;
return $question;