From: Jon goldberg Date: Wed, 29 Jul 2015 20:46:27 +0000 (-0400) Subject: CRM-16939 - Allow exporting current employers > 64 characters X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=86eef7b63fdcfbb57aab4f8ec9ef44d7651df377;p=civicrm-core.git CRM-16939 - Allow exporting current employers > 64 characters --- diff --git a/CRM/Export/BAO/Export.php b/CRM/Export/BAO/Export.php index 8ba00ee435..198e38dcae 100644 --- a/CRM/Export/BAO/Export.php +++ b/CRM/Export/BAO/Export.php @@ -1330,7 +1330,8 @@ INSERT INTO {$componentTable} SELECT distinct gc.contact_id FROM civicrm_group_c // early exit for master_id, CRM-12100 // in the DB it is an ID, but in the export, we retrive the display_name of the master record - if ($fieldName == 'master_id') { + // also for current_employer, CRM-16939 + if ($fieldName == 'master_id' || $fieldName == 'current_employer') { $sqlColumns[$fieldName] = "$fieldName varchar(128)"; return; }