diff --git a/lib/data_breach.rb b/lib/data_breach.rb index 3916dbcf..df5c7cc5 100644 --- a/lib/data_breach.rb +++ b/lib/data_breach.rb @@ -73,9 +73,9 @@ def data_breach(report, logged_in_user) ) if @logged_in_user - set_reply_to_headers(nil, 'Reply-To' => @logged_in_user.email) + set_reply_to_headers('Reply-To' => @logged_in_user.email) elsif report.contact_email - set_reply_to_headers(nil, 'Reply-To' => report.contact_email) + set_reply_to_headers('Reply-To' => report.contact_email) end # Set a header so we can filter in the mailbox diff --git a/lib/volunteer_contact_form.rb b/lib/volunteer_contact_form.rb index 9b9b3acc..6e526b68 100644 --- a/lib/volunteer_contact_form.rb +++ b/lib/volunteer_contact_form.rb @@ -79,7 +79,7 @@ def volunteer_message(contact, logged_in_user) reply_to_address = MailHandler.address_from_name_and_email( contact.name, contact.email ) - set_reply_to_headers(nil, 'Reply-To' => reply_to_address) + set_reply_to_headers('Reply-To' => reply_to_address) # Set a header so we can filter in the mailbox headers['X-WDTK-Contact'] = 'wdtk-volunteer'