From d4a280d86c587ed33816938aec4558dacc24b861 Mon Sep 17 00:00:00 2001 From: yashodha Date: Wed, 7 Aug 2013 13:47:00 +0530 Subject: [PATCH] fixed export for activity source contact ID --- CRM/Export/BAO/Export.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CRM/Export/BAO/Export.php b/CRM/Export/BAO/Export.php index 6fad25c9f9..99436550e0 100644 --- a/CRM/Export/BAO/Export.php +++ b/CRM/Export/BAO/Export.php @@ -790,6 +790,9 @@ INSERT INTO {$componentTable} SELECT distinct gc.contact_id FROM civicrm_group_c $row[$field] = $dao->contact_id; // special case for calculated field } + elseif ($field == 'source_contact_id') { + $row[$field] = $dao->contact_id; + } elseif ($field == 'pledge_balance_amount') { $row[$field] = $dao->pledge_amount - $dao->pledge_total_paid; // special case for calculated field -- 2.25.1