Merge branch 'MDL-81543-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE

This commit is contained in:
Huong Nguyen 2024-05-16 09:38:53 +07:00
commit 9ccdee7687
No known key found for this signature in database
GPG Key ID: 40D88AB693A3E72A

View File

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