MDL-9389 - True / False penalty factor field redundant

This commit is contained in:
tjhunt
2007-04-23 16:23:04 +00:00
parent 1e825b9dc1
commit b74504fff3
@@ -27,6 +27,10 @@ class question_edit_truefalse_form extends question_edit_form {
$mform->addElement('htmleditor', 'feedbackfalse', get_string('feedbackfalse', 'qtype_truefalse'));
$mform->setType('feedbackfalse', PARAM_RAW);
// Fix penalty factor at 1.
$mform->setDefault('penalty', 1);
$mform->freeze('penalty');
}
function set_data($question) {