• eileen's avatar
    Add upgrade routine to convert on_hold to an array for sites with · b4d67eb2
    eileen authored
    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')
    b4d67eb2
Name
Last commit
Last update
..
bin Loading commit data...
extensions Loading commit data...
fixtures Loading commit data...
karma Loading commit data...
mock/extension_browser_results Loading commit data...
phpunit Loading commit data...
qunit Loading commit data...
templates Loading commit data...
README.md Loading commit data...