Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/blank contact email #1246

Merged
merged 5 commits into from
Aug 8, 2022
Merged

Fix/blank contact email #1246

merged 5 commits into from
Aug 8, 2022

Conversation

PaulDoyle-DEFRA
Copy link
Collaborator

This change resolves a potential issue where submitting the contact_email form with a blank contact_email field and selecting the "No contact email" option would result in a contact_email value of "" (empty string) instead of nil. The value should be nil in all cases where a valid contact_email value has not been provided.
https://eaflood.atlassian.net/browse/RUBY-2028

@PaulDoyle-DEFRA PaulDoyle-DEFRA added the bug Something isn't working label Aug 5, 2022
@PaulDoyle-DEFRA PaulDoyle-DEFRA merged commit 5619c09 into main Aug 8, 2022
@PaulDoyle-DEFRA PaulDoyle-DEFRA deleted the fix/blank_contact_email branch August 8, 2022 08:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants