-
Bug
-
Resolution: Fixed
-
Major
-
1.7
-
None
-
Any
-
MOODLE_17_STABLE
-
MOODLE_17_STABLE, MOODLE_18_STABLE
I want to do a questiontype upgrade script that does
UPDATE mdl_question_answers SET answer = '*' WHERE answer = '' AND question IN (SELECT id FROM mdl_question WHERE qtype = 'numerical')
I think that a new set_field_select function is the best way to achieve this.
I've written it, but I would think I should get it reviewed before committing. Patch will be attached shortly.
- blocks
-
MDL-7928 Numerical question type should use * for the match anything answer
-
- Closed
-