----------------------------------------
* CRM-13692: Unknown column 'civicrm_activity.source_contact_id' when using Batch Profile Update for Activities
http://issues.civicrm.org/jira/browse/CRM-13692
*/
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';