From dbf66805cfac68681b4a22ca6b16095b82a6f50c Mon Sep 17 00:00:00 2001 From: eileen Date: Tue, 4 Jun 2013 12:56:00 +1200 Subject: [PATCH] CRM-12759 employer not being added to Multisite group --- CRM/Contact/BAO/Contact/Utils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.25.1