Skip to content
Snippets Groups Projects
Commit afded47c authored by colemanw's avatar colemanw
Browse files

#5720 - Ensure default site email address is respected

A few forms present a dropdown for "From Email Address",
and most of them were not correctly setting the default.
I investigated and found a couple causes:

1. Some forms just didn't bother to set it
2. Some forms *tried* to set it, but it got mangled by the html purifier

For the not-even-trying forms, a pretty simple catch-all solution is to
put the default at the top of the list, thus the change to CRM_Core_BAO_Email::domainEmails

For the ones that were trying and failing, I added the field to
getFieldsToExcludeFromPurification.
parent 0de3019a
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment