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:
1b62f72
)
style fix
author
yashodha
<yashodha@cividesk.com>
Thu, 24 Dec 2020 11:11:04 +0000
(16:41 +0530)
committer
yashodha
<yashodha@cividesk.com>
Thu, 24 Dec 2020 11:11:04 +0000
(16:41 +0530)
CRM/Contact/BAO/Contact.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/BAO/Contact.php
b/CRM/Contact/BAO/Contact.php
index 5e45300933d9980a7f208eda86dbe07051e1369b..0edeb2f09a4101f923a0fc136f278a95597c85c6 100644
(file)
--- a/
CRM/Contact/BAO/Contact.php
+++ b/
CRM/Contact/BAO/Contact.php
@@
-2066,7
+2066,7
@@
ORDER BY civicrm_email.is_primary DESC";
else {
//we should get contact type only if contact
if ($ufGroupId) {
- $data['contact_type'] = CRM_Core_BAO_UFField::getProfileType($ufGroupId,TRUE, FALSE, TRUE);
+ $data['contact_type'] = CRM_Core_BAO_UFField::getProfileType($ufGroupId,
TRUE, FALSE, TRUE);
//special case to handle profile with only contact fields
if ($data['contact_type'] == 'Contact') {