-
-
Notifications
You must be signed in to change notification settings - Fork 825
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add upgrade routine to convert on_hold to an array for sites with
civimail_multiple_bulk_emails set. with that set we get a select box which needs an array rather than a checkbox. Note from my testing there is problem loading the defaults due to the field name being wrong - this aligns groups created before & after the 5.9 upgrade but does not resolve that. // preferred communication method if (Civi::settings()->get('civimail_multiple_bulk_emails')) { ->addSelect('email_on_hold', array('entity' => 'email', 'multiple' => 'multiple', 'label' => ts('Email On Hold'), 'options' => CRM_Core_PseudoConstant::emailOnHoldOptions())); } else { ->add('advcheckbox', 'email_on_hold', ts('Email On Hold')
- Loading branch information
1 parent
08cacc3
commit abe5b62
Showing
3 changed files
with
80 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters