mirror of
https://github.com/moodle/moodle.git
synced 2025-08-11 11:56:40 +02:00
"MDL-14129, fix print_error"
This commit is contained in:
parent
d5edb9614e
commit
0b4f4187a2
5 changed files with 31 additions and 32 deletions
|
@ -344,7 +344,7 @@ class question_numerical_qtype extends question_shortanswer_qtype {
|
|||
$min = $answer->answer / $quotient;
|
||||
break;
|
||||
default:
|
||||
print_error("Unknown tolerance type $answer->tolerancetype");
|
||||
print_error('unknowntolerance', 'question', '', $answer->tolerancetype);
|
||||
}
|
||||
|
||||
$answer->min = $min;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue