From a3ee83cc9e45f21502ecc10d0c938352bd5e5676 Mon Sep 17 00:00:00 2001 From: yashodha Date: Thu, 24 Dec 2020 16:41:04 +0530 Subject: [PATCH] style fix --- CRM/Contact/BAO/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/BAO/Contact.php b/CRM/Contact/BAO/Contact.php index 5e45300933..0edeb2f09a 100644 --- 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') { -- 2.25.1