MDL-11825 - Force penaltyfactor to 1 for truefalse questions on GIFT import, as is done on the editing form. Merged from MOODLE_18_STABLE.
This commit is contained in:
@@ -380,6 +380,7 @@ class qformat_gift extends qformat_default {
|
||||
$question->feedbacktrue = $feedback['wrong'];
|
||||
}
|
||||
|
||||
$question->penalty = 1;
|
||||
$question->correctanswer = $question->answer;
|
||||
|
||||
return $question;
|
||||
|
||||
Reference in New Issue
Block a user