Commit 4cafb090 authored by Yashodha Chaku's avatar Yashodha Chaku

Merge pull request #4735 from kenwest/CRM-15738

CRM-15738 prevent notice when viewing contact's activities
parents 94da937f 6e48b1fd
......@@ -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}");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment