From 5b004ec988306a26ca11ba7590a71fd168fbeaba Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Mon, 10 Mar 2014 15:36:48 -0400 Subject: [PATCH] CRM-13966 - Fix export prefix, suffix, gender --- CRM/Export/BAO/Export.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/CRM/Export/BAO/Export.php b/CRM/Export/BAO/Export.php index e0648cdd57..3e50de0669 100644 --- a/CRM/Export/BAO/Export.php +++ b/CRM/Export/BAO/Export.php @@ -821,9 +821,6 @@ INSERT INTO {$componentTable} SELECT distinct gc.contact_id FROM civicrm_group_c elseif ($field == 'pledge_next_pay_amount') { $row[$field] = $dao->pledge_next_pay_amount + $dao->pledge_outstanding_amount; } - elseif (in_array(substr($field, 0, -3), array('gender', 'prefix', 'suffix'))) { - $row[$field] = CRM_Core_PseudoConstant::getLabel('CRM_Contact_DAO_Contact', $field, $dao->$field); - } elseif (is_array($value) && $field == 'location') { // fix header for location type case foreach ($value as $ltype => $val) { -- 2.25.1