Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

  • Loading branch information...
commit 69c53045ba7131306f3cfba9cc8194fec37d0873 2 parents 396dca7 + 7038944
@stronk7 stronk7 authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  question/type/numerical/questiontype.php
View
1  question/type/numerical/questiontype.php
@@ -1151,6 +1151,7 @@ function set_numerical_unit_data($mform, &$question, &$default_values){
break;
case 2 : // NUMERICALQUESTIONUNITTEXTDISPLAY
$default_values['unitrole'] = 1 ;
+ break;
case 3 : // NUMERICALQUESTIONUNITNODISPLAY
$default_values['unitrole'] = 0 ;
// $default_values['showunits1'] = $question->options->showunits ;
Please sign in to comment.
Something went wrong with that request. Please try again.