From ff6b824e6da0e48fdd1266612f0dc9c0ceea04bc Mon Sep 17 00:00:00 2001 From: ppichet Date: Thu, 10 Feb 2011 23:50:30 -0500 Subject: [PATCH] MDL-26356:Correcting the texts of Numerical Units grading select element Signed-off-by: ppichet --- question/type/numerical/questiontype.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();