Skip to content
Snippets Groups Projects
Commit dbf66805 authored by eileen's avatar eileen
Browse files

CRM-12759 employer not being added to Multisite group

parent 4b2a0c67
Branches
Tags
No related merge requests found
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment