Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-15733

Contining a saved mailing doesn't load included or excluded previous mailing recipients

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.5.4
    • Fix Version/s: 4.5.6
    • Component/s: CiviMail
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      This is the first Recipients selection screen and is simply an issue with correctly populating the $defaults variable. Minimal fix is below:

      diff --git a/sites/all/modules/civicrm/CRM/Mailing/Form/Group.php b/sites/all/modules/civicrm/CRM/Mailing/Form/Group.php
      index 51f013d..45e83e6 100644
      — a/sites/all/modules/civicrm/CRM/Mailing/Form/Group.php
      +++ b/sites/all/modules/civicrm/CRM/Mailing/Form/Group.php
      @@ -147,8 +147,8 @@ class CRM_Mailing_Form_Group extends CRM_Contact_Form_Task {
      $defaults['excludeGroups'] = CRM_Utils_Array::value('exclude', $mailingGroups['civicrm_group']);

      if (!empty($mailingGroups['civicrm_mailing']))

      { - $defaults['includeMailings'] = CRM_Utils_Array::value('Include', $mailingGroups['civicrm_mailing']); - $defaults['excludeMailings'] = CRM_Utils_Array::value('Exclude', $mailingGroups['civicrm_mailing']); + $defaults['includeMailings'] = CRM_Utils_Array::value('include', $mailingGroups['civicrm_mailing']); + $defaults['excludeMailings'] = CRM_Utils_Array::value('exclude', $mailingGroups['civicrm_mailing']); }

      }

        Attachments

          Activity

            People

            • Assignee:
              monish.deb Monish Deb
              Reporter:
              jlacey Joseph Lacey
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: