From ad7695c2a4e0cea06ff65fd902df1fddfd52a102 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 12 Aug 2013 15:30:19 -0700 Subject: [PATCH] Fix typo --- CRM/Export/BAO/Export.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Export/BAO/Export.php b/CRM/Export/BAO/Export.php index 54777f4830..b6e6f79cc8 100644 --- a/CRM/Export/BAO/Export.php +++ b/CRM/Export/BAO/Export.php @@ -455,7 +455,7 @@ INSERT INTO {$componentTable} SELECT distinct gc.contact_id FROM civicrm_group_c $relIDs = $ids; } elseif ($exportMode == CRM_Export_Form_Select::ACTIVITY_EXPORT) { - $sourceID = CRM_Core_PseudoConstant::getKey('CRM_Activity_BAO_ActivityAssignment', 'record_type_id', 'Activity Source'); + $sourceID = CRM_Core_PseudoConstant::getKey('CRM_Activity_BAO_ActivityContact', 'record_type_id', 'Activity Source'); $query = "SELECT contact_id FROM civicrm_activity_contact WHERE activity_id IN ( " . implode(',', $ids) . ") AND record_type_id = {$sourceID}"; -- 2.25.1