mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-30607 message: removed an if condition that prevented you from clearing an overrident email address
This commit is contained in:
parent
d0e016f53f
commit
492b00b7ba
@ -83,7 +83,7 @@ class message_output_email extends message_output {
|
||||
* @param array $preferences preferences array
|
||||
*/
|
||||
function process_form($form, &$preferences){
|
||||
if (isset($form->email_email) && !empty($form->email_email)) {
|
||||
if (isset($form->email_email)) {
|
||||
$preferences['message_processor_email_email'] = $form->email_email;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user