mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Merge branch 'MDL-26724' of git://github.com/timhunt/moodle
This commit is contained in:
commit
4f7fd61a7a
1 changed files with 2 additions and 2 deletions
|
@ -63,9 +63,9 @@
|
||||||
?> size="<?php echo $textlength;?>"/>
|
?> size="<?php echo $textlength;?>"/>
|
||||||
<?php if ($state->responses['unit'] != '') echo $feedbackimgunit;
|
<?php if ($state->responses['unit'] != '') echo $feedbackimgunit;
|
||||||
if ($options->feedback && $question->options->unitgradingtype == 1 && ! $valid_numerical_unit && ! $answerasterisk ){
|
if ($options->feedback && $question->options->unitgradingtype == 1 && ! $valid_numerical_unit && ! $answerasterisk ){
|
||||||
if ( $empty_unit) {
|
if (!empty($empty_unit)) {
|
||||||
print_string('unitmandatory', 'qtype_numerical');
|
print_string('unitmandatory', 'qtype_numerical');
|
||||||
}else {
|
} else {
|
||||||
if(isset($question->options->units) && count($question->options->units) > 0){
|
if(isset($question->options->units) && count($question->options->units) > 0){
|
||||||
$found = 0 ;
|
$found = 0 ;
|
||||||
$valid_unit_found = 0 ;
|
$valid_unit_found = 0 ;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue