From f0bdcffdedcbe2596453cb9fd53ac40424ccfd14 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() --- 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 4fd9df5910..51f013d432 100644 --- a/CRM/Mailing/Form/Group.php +++ b/CRM/Mailing/Form/Group.php @@ -143,7 +143,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