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:
df5ec56
)
CRM-13995 - Add is_object check to prevent notices.
author
Dave Greenberg
<dave@civicrm.org>
Tue, 7 Jan 2014 02:35:59 +0000
(18:35 -0800)
committer
Dave Greenberg
<dave@civicrm.org>
Tue, 7 Jan 2014 02:35:59 +0000
(18:35 -0800)
----------------------------------------
* CRM-13995: contact export when merging households: some household fields missing
http://issues.civicrm.org/jira/browse/CRM-13995
CRM/Export/BAO/Export.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Export/BAO/Export.php
b/CRM/Export/BAO/Export.php
index 1ed6118deabf24c8f346c8817b5f37676e03a868..029aa5ee758a9d6553eb91ecdb3ba2f797f1c508 100644
(file)
--- a/
CRM/Export/BAO/Export.php
+++ b/
CRM/Export/BAO/Export.php
@@
-871,7
+871,7
@@
INSERT INTO {$componentTable} SELECT distinct gc.contact_id FROM civicrm_group_c
}
}
// CRM-13995
- elseif (in_array($relationField, array(
+ elseif (i
s_object($relDAO) && i
n_array($relationField, array(
'email_greeting', 'postal_greeting', 'addressee'))) {
//special case for greeting replacement
$fldValue = "{$relationField}_display";