mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 11:46:19 +01:00
38ac75d674
The placeholders for the hints are properly replaced by this change and any formulas present are replaced. The validation is performed by the existing function qtype_calculated_find_formula_errors(), which is called by the calculate() function, which in turn is called by the variable substituter "vs" using the replace_expressions_in_text() function. vs -> replace_expressions_in_text() -> calculate() -> qtype_calculated_find_formula_errors().