diff --git a/question/type/numerical/questiontype.php b/question/type/numerical/questiontype.php index 5d8373740b1..2ac22a0d731 100644 --- a/question/type/numerical/questiontype.php +++ b/question/type/numerical/questiontype.php @@ -1044,7 +1044,7 @@ class question_numerical_qtype extends question_shortanswer_qtype { $penaltygrp = array(); $penaltygrp[] =& $mform->createElement('text', 'unitpenalty', get_string('unitpenalty', 'qtype_numerical') , array('size' => 6)); - $unitgradingtypes = array('1' => get_string('decfractionofquestiongrade', 'qtype_numerical'), '2' => get_string('decfractionofresponsegrade', 'qtype_numerical')); + $unitgradingtypes = array('1' => get_string('decfractionofresponsegrade', 'qtype_numerical'), '2' => get_string('decfractionofquestiongrade', 'qtype_numerical')); $penaltygrp[] =& $mform->createElement('select', 'unitgradingtypes', '' , $unitgradingtypes ); $mform->addGroup($penaltygrp, 'penaltygrp', get_string('unitpenalty', 'qtype_numerical'),' ' , false); $multichoicedisplaygrp = array();