Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.0
-
Fix Version/s: 2.1
-
Component/s: Core CiviCRM
-
Labels:None
Description
If civicrm_contact_add() is used to update an organization contact, the organization's display_name will be set to empty string unless the organization_name or display_name is explicitly set in the $params. I do not, however, want to have to specify all org fields in the civicrm_contact_add() $params.
Passing a full $organization array into civicrm_contact_add() will cause other problems, such as an extra row appearing in the civicrm_email table (duplicate location is created).