MDL-30607 message: removed an if condition that prevented you from clearing an overrident email address

This commit is contained in:
Andrew Davis 2011-12-06 11:09:14 +08:00
parent d0e016f53f
commit 492b00b7ba

View File

@ -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;
}
}