MDL-47494 gapselect: Merge pull request #11 from colchambers/wip6846

Qtype gapselect showing Did you remember to call setType() errors on edi...
This commit is contained in:
Tim Hunt
2013-05-17 07:08:15 -07:00
@@ -163,6 +163,7 @@ class qtype_gapselect_edit_form_base extends question_edit_form {
protected function repeated_options() {
$repeatedoptions = array();
$repeatedoptions['choicegroup']['default'] = '1';
$repeatedoptions['choices[answer]']['type'] = PARAM_TEXT;
return $repeatedoptions;
}