From 309c49b216bf0281d35fa336f5c64a225083295e Mon Sep 17 00:00:00 2001 From: yashodha Date: Fri, 25 Mar 2016 14:16:45 +0530 Subject: [PATCH] CRM-18290: Edits to activities are not saved in CiviCase ---------------------------------------- * CRM-18290: Edits to activities are not saved in CiviCase https://issues.civicrm.org/jira/browse/CRM-18290 --- CRM/Case/Form/Activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Case/Form/Activity.php b/CRM/Case/Form/Activity.php index 1e5e92ffa7..4aef5c0270 100644 --- a/CRM/Case/Form/Activity.php +++ b/CRM/Case/Form/Activity.php @@ -415,7 +415,7 @@ class CRM_Case_Form_Activity extends CRM_Activity_Form_Activity { if ($this->_activityId) { // retrieve and include the custom data of old Activity $oldActivity = civicrm_api3('Activity', 'getsingle', array('id' => $this->_activityId)); - $params = array_merge($params, $oldActivity); + $params = array_merge($oldActivity, $params); // unset custom fields-id from params since we want custom // fields to be saved for new activity. -- 2.25.1