Merge branch 'mdl-26299' of git://github.com/mackensen/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2011-02-14 18:23:56 +01:00
commit 69c53045ba

View File

@ -1151,6 +1151,7 @@ class question_numerical_qtype extends question_shortanswer_qtype {
break;
case 2 : // NUMERICALQUESTIONUNITTEXTDISPLAY
$default_values['unitrole'] = 1 ;
break;
case 3 : // NUMERICALQUESTIONUNITNODISPLAY
$default_values['unitrole'] = 0 ;
// $default_values['showunits1'] = $question->options->showunits ;