MDL-9389 - True / False penalty factor field redundant. Merged from MOODLE_18_STABLE.

This commit is contained in:
tjhunt
2007-04-23 16:23:17 +00:00
parent 7c77033fb6
commit fe76ab5006
@@ -28,6 +28,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) {