CRM-15733 fix Contining a saved mailing doesn't load included or excluded previous...
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Wed, 31 Dec 2014 07:30:46 +0000 (13:00 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Wed, 31 Dec 2014 07:30:46 +0000 (13:00 +0530)
CRM/Mailing/Form/Group.php

index 51f013d4323314e36662c9a8a55d87868a18c17f..45e83e6573725a4ab4440a01531fb2ff5e457da8 100644 (file)
@@ -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']);
       }
     }