fix default for excluded groups
authoryashodha <yashodha.chaku@webaccess.co.in>
Wed, 30 Apr 2014 18:28:10 +0000 (23:58 +0530)
committeryashodha <yashodha.chaku@webaccess.co.in>
Wed, 30 Apr 2014 18:28:10 +0000 (23:58 +0530)
CRM/Mailing/Form/Group.php

index 5c96d247a1be8d4ebe18aa8cb6639920a3df1a12..5b312838e0e21ca8c70d81aaaa599181d8c0f0db 100644 (file)
@@ -144,7 +144,7 @@ class CRM_Mailing_Form_Group extends CRM_Contact_Form_Task {
       }
 
       $defaults['includeGroups'] = $mailingGroups['civicrm_group']['include'];
-      $defaults['excludeGroups'] = CRM_Utils_Array::value('Exclude', $mailingGroups['civicrm_group']);
+      $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']);