mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
Merge branch 'MDL-81543-404' of https://github.com/paulholden/moodle into MOODLE_404_STABLE
This commit is contained in:
commit
9ccdee7687
@ -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