update fix for source
authoryashodha <yashodha.chaku@webaccess.co.in>
Tue, 23 Apr 2013 22:35:22 +0000 (04:05 +0530)
committeryashodha <yashodha.chaku@webaccess.co.in>
Tue, 23 Apr 2013 22:35:22 +0000 (04:05 +0530)
CRM/Activity/BAO/Activity.php

index 64a1a5831daa2bb4abcf0a770da1e0a841ec81ee..ee40c05fdd1c884ee6b442ece091a49df68875a7 100644 (file)
@@ -360,6 +360,7 @@ class CRM_Activity_BAO_Activity extends CRM_Activity_DAO_Activity {
         'contact_id'  => $params['source_contact_id'],
         'record_type_id' => $sourceID
       );
+      self::deleteActivityContact($activityId, $sourceID);
       CRM_Activity_BAO_ActivityContact::create($acParams);
     }