-
- Downloads
#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.
Showing
- CRM/Contact/Form/Task/EmailTrait.php 7 additions, 0 deletionsCRM/Contact/Form/Task/EmailTrait.php
- CRM/Contact/Form/Task/PDFTrait.php 9 additions, 3 deletionsCRM/Contact/Form/Task/PDFTrait.php
- CRM/Contribute/Form/Task/Invoice.php 7 additions, 0 deletionsCRM/Contribute/Form/Task/Invoice.php
- CRM/Contribute/Form/Task/PDF.php 7 additions, 0 deletionsCRM/Contribute/Form/Task/PDF.php
- CRM/Core/BAO/Email.php 1 addition, 0 deletionsCRM/Core/BAO/Email.php
Loading
Please register or sign in to comment