From: eileen Date: Tue, 4 Jun 2013 00:56:00 +0000 (+1200) Subject: CRM-12759 employer not being added to Multisite group X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=dbf66805cfac68681b4a22ca6b16095b82a6f50c;p=civicrm-core.git CRM-12759 employer not being added to Multisite group --- diff --git a/CRM/Contact/BAO/Contact/Utils.php b/CRM/Contact/BAO/Contact/Utils.php index 2f8c6a2a07..0e1c12b9c6 100644 --- a/CRM/Contact/BAO/Contact/Utils.php +++ b/CRM/Contact/BAO/Contact/Utils.php @@ -291,7 +291,7 @@ UNION 'contact_type' => 'Organization', 'organization_name' => trim($orgName[0]), ); - $org = CRM_Contact_BAO_Contact::add($newOrg); + $org = CRM_Contact_BAO_Contact::create($newOrg); $organizationId = $org->id; } }