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-07 12:06:03 +08:00
parent 464d60522d
commit 0508938f22
@@ -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;
}
}