Merge d66c4934a6
into b8f44d962d
This commit is contained in:
commit
5cf6ee180a
1 changed files with 1 additions and 1 deletions
|
@ -890,7 +890,7 @@ function civicrm_api3_twingle_donation_Submit($params) {
|
||||||
// CREATE the membership if required
|
// CREATE the membership if required
|
||||||
if (isset($membership_type_id)) {
|
if (isset($membership_type_id)) {
|
||||||
$membership_data = [
|
$membership_data = [
|
||||||
'contact_id' => $contact_id,
|
'contact_id' => $organisation_id ?? $contact_id,
|
||||||
'membership_type_id' => $membership_type_id,
|
'membership_type_id' => $membership_type_id,
|
||||||
];
|
];
|
||||||
// set campaign, subject to configuration
|
// set campaign, subject to configuration
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue