"MDL-14129, fix print_error"

This commit is contained in:
dongsheng 2008-05-21 05:07:37 +00:00
parent d5edb9614e
commit 0b4f4187a2
5 changed files with 31 additions and 32 deletions

View file

@ -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;