From: kurund Date: Sun, 3 Nov 2013 13:11:59 +0000 (+0530) Subject: removed source contact field from the list of the available profile fields, CRM-13692 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4f79a2f529555a280278f2d8f79f279ed4296dbd;p=civicrm-core.git removed source contact field from the list of the available profile fields, CRM-13692 ---------------------------------------- * CRM-13692: Unknown column 'civicrm_activity.source_contact_id' when using Batch Profile Update for Activities http://issues.civicrm.org/jira/browse/CRM-13692 --- diff --git a/CRM/Activity/BAO/Activity.php b/CRM/Activity/BAO/Activity.php index 1cdc61c98c..910aa49696 100644 --- a/CRM/Activity/BAO/Activity.php +++ b/CRM/Activity/BAO/Activity.php @@ -2166,7 +2166,16 @@ AND cl.modified_id = c.id */ static function getProfileFields() { $exportableFields = self::exportableFields('Activity'); - $skipFields = array('activity_id', 'activity_type', 'source_contact_id', 'activity_campaign', 'activity_is_test', 'is_current_revision', 'activity_is_deleted',); + $skipFields = array( + 'activity_id', + 'activity_type', + 'source_contact_id', + 'source_contact', + 'activity_campaign', + 'activity_is_test', + 'is_current_revision', + 'activity_is_deleted', + ); $config = CRM_Core_Config::singleton(); if (!in_array('CiviCampaign', $config->enableComponents)) { $skipFields[] = 'activity_engagement_level';