MDL-81543 qtype_calculated: correct component of language string.

This commit is contained in:
Paul Holden 2024-04-15 16:50:41 +01:00
parent 477aa7c750
commit e205d5accc
No known key found for this signature in database
GPG Key ID: A81A96D6045F6164

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