Fix typo
authorColeman Watts <coleman@civicrm.org>
Mon, 12 Aug 2013 22:30:19 +0000 (15:30 -0700)
committerColeman Watts <coleman@civicrm.org>
Mon, 12 Aug 2013 22:30:19 +0000 (15:30 -0700)
CRM/Export/BAO/Export.php

index 54777f48302ee21ee22adaec571d46cbadc94edb..b6e6f79cc8c4b1047362ba2397310cbe17c8f56c 100644 (file)
@@ -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}";