From: DemeritCowboy Date: Sun, 5 May 2013 13:56:03 +0000 (-0400) Subject: CRM-12519 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8c31eef51bd7fa349a58d494acac9ec2558f76e5;p=civicrm-core.git CRM-12519 --- diff --git a/CRM/Case/BAO/Case.php b/CRM/Case/BAO/Case.php index 71ec1cac94..05c534bca6 100644 --- a/CRM/Case/BAO/Case.php +++ b/CRM/Case/BAO/Case.php @@ -2435,6 +2435,12 @@ SELECT id $mainAssigneeActivity->free(); } $otherAssigneeActivity->free(); + + // copy custom fields and attachments + $aparams = array('activityID' => $otherActivityId, + 'mainActivityId' => $mainActivityId, + ); + CRM_Activity_BAO_Activity::copyExtendedActivityData($aparams); } //copy case relationship.