projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d0247a
)
CRM-13966 - Fix export prefix, suffix, gender
author
Coleman Watts
<coleman@civicrm.org>
Mon, 10 Mar 2014 19:36:48 +0000
(15:36 -0400)
committer
Coleman Watts
<coleman@civicrm.org>
Mon, 10 Mar 2014 19:36:48 +0000
(15:36 -0400)
CRM/Export/BAO/Export.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Export/BAO/Export.php
b/CRM/Export/BAO/Export.php
index e0648cdd57604ddc538cf4c357dceb19cd958a96..3e50de066968bf2de27511fa120b00af7dcb823f 100644
(file)
--- 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) {