From 3319a07872747e2a638651e4af73854a05833a6e Mon Sep 17 00:00:00 2001 From: Ken West Date: Mon, 20 Oct 2014 10:56:53 +1100 Subject: [PATCH] CRM-15492 / 4.5 branch / Notice: Undefined index: include in CRM_Mailing_Form_Group->setDefaultValues() Conflicts: CRM/Mailing/Form/Group.php --- CRM/Mailing/Form/Group.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Mailing/Form/Group.php b/CRM/Mailing/Form/Group.php index 23abb0c3bb..6aae061050 100644 --- a/CRM/Mailing/Form/Group.php +++ b/CRM/Mailing/Form/Group.php @@ -139,7 +139,7 @@ class CRM_Mailing_Form_Group extends CRM_Contact_Form_Task { $mailingGroups[$entityTable][$dao->group_type][] = $dao->entity_id; } - $defaults['includeGroups'] = $mailingGroups['civicrm_group']['Include']; + $defaults['includeGroups'] = CRM_Utils_Array::value('include', $mailingGroups['civicrm_group']); $defaults['excludeGroups'] = CRM_Utils_Array::value('Exclude', $mailingGroups['civicrm_group']); if (!empty($mailingGroups['civicrm_mailing'])) { -- 2.25.1