From 3911d992e2249d51f42b4f901e65d0b68006560b Mon Sep 17 00:00:00 2001 From: Divya Jose Date: Thu, 29 May 2014 12:48:12 +0530 Subject: [PATCH] --fixes to store the target id for activity of case type --- CRM/Case/Form/Activity.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Case/Form/Activity.php b/CRM/Case/Form/Activity.php index 0f93fb404a..2db43db8b9 100644 --- a/CRM/Case/Form/Activity.php +++ b/CRM/Case/Form/Activity.php @@ -441,8 +441,8 @@ class CRM_Case_Form_Activity extends CRM_Activity_Form_Activity { $params['activity_type_id'] = $this->_activityTypeId; // format with contact (target contact) values - if (isset($params['contact'][1])) { - $params['target_contact_id'] = explode(',', $params['contact'][1]); + if (isset($params['target_contact_id'])) { + $params['target_contact_id'] = explode(',', $params['target_contact_id']); } else { $params['target_contact_id'] = array(); -- 2.25.1