Details
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']); }}