mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Merge branch 'mdl-26299' of git://github.com/mackensen/moodle
This commit is contained in:
commit
69c53045ba
1 changed files with 1 additions and 0 deletions
|
@ -1151,6 +1151,7 @@ class question_numerical_qtype extends question_shortanswer_qtype {
|
||||||
break;
|
break;
|
||||||
case 2 : // NUMERICALQUESTIONUNITTEXTDISPLAY
|
case 2 : // NUMERICALQUESTIONUNITTEXTDISPLAY
|
||||||
$default_values['unitrole'] = 1 ;
|
$default_values['unitrole'] = 1 ;
|
||||||
|
break;
|
||||||
case 3 : // NUMERICALQUESTIONUNITNODISPLAY
|
case 3 : // NUMERICALQUESTIONUNITNODISPLAY
|
||||||
$default_values['unitrole'] = 0 ;
|
$default_values['unitrole'] = 0 ;
|
||||||
// $default_values['showunits1'] = $question->options->showunits ;
|
// $default_values['showunits1'] = $question->options->showunits ;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue