-
Bug
-
Resolution: Fixed
-
Minor
-
2.6.1
-
MOODLE_26_STABLE
-
MOODLE_26_STABLE
-
Steps to reproduce:
- Go to the question bank, and click to create a new Calculated simple question.
- Put something in the required fields (Question name and question text).
- Click Save changes without first clicking "Find the wild cards
{x..}
present in the correct answer formulas"
and you get the notices:
Notice: Undefined index: number in /home/marina/repositories/int_master/moodle/question/type/calculatedsimple/edit_calculatedsimple_form.php on line 588
Warning: Invalid argument supplied for foreach() in /home/marina/repositories/int_master/moodle/question/type/calculatedsimple/edit_calculatedsimple_form.php on line 589