Commit 28ded762 authored by Jitendra Purohit's avatar Jitendra Purohit


parent 8e350210
......@@ -539,8 +539,8 @@ class CRM_Activity_Form_Activity extends CRM_Contact_Form_Task {
// Fixme: why are we getting the wrong keys from upstream?
$defaults['target_contact_id'] = $defaults['target_contact'];
$defaults['assignee_contact_id'] = $defaults['assignee_contact'];
$defaults['target_contact_id'] = CRM_Utils_Array::value('target_contact', $defaults);
$defaults['assignee_contact_id'] = CRM_Utils_Array::value('assignee_contact', $defaults);
// set default tags if exists
$defaults['tag'] = CRM_Core_BAO_EntityTag::getTag($this->_activityId, 'civicrm_activity');
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