style fix
authoryashodha <yashodha@cividesk.com>
Thu, 24 Dec 2020 11:11:04 +0000 (16:41 +0530)
committeryashodha <yashodha@cividesk.com>
Thu, 24 Dec 2020 11:11:04 +0000 (16:41 +0530)
CRM/Contact/BAO/Contact.php

index 5e45300933d9980a7f208eda86dbe07051e1369b..0edeb2f09a4101f923a0fc136f278a95597c85c6 100644 (file)
@@ -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') {