-
Bug
-
Resolution: Fixed
-
Minor
-
2.1.3, 2.2, 2.3
-
Any
-
MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
-
MOODLE_21_STABLE, MOODLE_22_STABLE
-
MDL-30607_override_email -
If you try to clear the email address box on your messaging preferences and save the previous value reappears.
This was introduced by MDL-27171. Specifically changing this...
if (isset($form->email_email)) {
|
$preferences['message_processor_email_email'] = $form->email_email;
|
to this...
if (isset($form->email_email) && !empty($form->email_email)) {
|
$preferences['message_processor_email_email'] = $form->email_email;
|
Either reverting that change or making that check a bit smarter should do the trick.
- is a regression caused by
-
MDL-27171 Improved configuration options for the messaging system
- Closed