-
Bug
-
Resolution: Fixed
-
Minor
-
3.2.2
-
MOODLE_32_STABLE
-
MOODLE_32_STABLE, MOODLE_33_STABLE
-
wip-
MDL-58362-master -
-
3.4 Sprint 2
the Site Administration -> Registration form saves values into mdl_config_plugins to set defaults on the form - this is currently broken on some fields.
specifically, 'emailalert' will always have its select item default to option 1 "Yes, please notify me about important issues" which gives the impression you are currently subscribed to the security mailing list.
The problem is due to saving an int 0 or 1 into the mdl_config_plugins table where the field is set to 'text' and then doing a type & value comparison in code to determine the default select option - as strings are always true the default value is always 1 ( i guess )
There may be other fields on this form that have this issue as i didnt test them all.