mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-81543 qtype_calculated: correct component of language string.
This commit is contained in:
parent
477aa7c750
commit
e205d5accc
@ -276,7 +276,7 @@ class qtype_calculated_edit_form extends qtype_numerical_edit_form {
|
||||
|
||||
protected function valid_answer_message($answer) {
|
||||
if (!$answer) {
|
||||
return get_string('mustenteraformulaorstar', 'qtype_numerical');
|
||||
return get_string('mustenteraformulaorstar', 'qtype_calculated');
|
||||
} else {
|
||||
return qtype_calculated_find_formula_errors($answer);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user