mirror of
https://github.com/moodle/moodle.git
synced 2025-03-28 03:22:38 +01:00
MDL-81543 qtype_calculated: correct component of language string.
This commit is contained in:
parent
462d5f04a8
commit
d792e8c450
@ -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