From 6e48b1fd8ec2980c6de398ae3be2678237fb92d0 Mon Sep 17 00:00:00 2001 From: Ken West Date: Thu, 18 Dec 2014 06:45:33 +1100 Subject: [PATCH] CRM-15738 prevent notice when viewing contact's activities --- CRM/Activity/BAO/Activity.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Activity/BAO/Activity.php b/CRM/Activity/BAO/Activity.php index 180dfcd4d6..e156a526b9 100644 --- a/CRM/Activity/BAO/Activity.php +++ b/CRM/Activity/BAO/Activity.php @@ -2503,6 +2503,7 @@ INNER JOIN civicrm_option_group grp ON ( grp.id = val.option_group_id AND grp.n $contactActivities[$activityId]['target_contact'] = $values['recipients']; } elseif (isset($values['target_contact_counter']) && $values['target_contact_counter']) { + $contactActivities[$activityId]['target_contact'] = ''; foreach ($values['target_contact_name'] as $tcID => $tcName) { $contactActivities[$activityId]['target_contact'] .= CRM_Utils_System::href($tcName, 'civicrm/contact/view', "reset=1&cid={$tcID}"); -- 2.25.1