MDL-38741 qtype_truefalse: fix missing setType call

This commit is contained in:
Dan Poltawski
2013-04-04 16:32:46 +08:00
parent ce5bb3a912
commit 8971ddd5a9
@@ -60,6 +60,7 @@ class qtype_truefalse_edit_form extends question_edit_form {
get_string('settingsformultipletries', 'question'));
$mform->addElement('hidden', 'penalty', 1);
$mform->setType('penalty', PARAM_FLOAT);
$mform->addElement('static', 'penaltymessage',
get_string('penaltyforeachincorrecttry', 'question'), 1);