Skip to content

Commit

Permalink
syntax error!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
adixon committed Sep 12, 2023
1 parent 7322d46 commit 2deb5cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CRM/Contributionrecur/MembershipImplicit.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,15 +170,15 @@ function contributionrecur_membershipImplicit($contact, $contributions, $options
);
}
// regardless, also create the activity that gets used when measuring membership change, etc.
civicrm_api3('Activity', 'create', array(
civicrm_api3('Activity', 'create', [
'version' => 3,
'activity_type_id' => 'Membership Renewal',
'source_contact_id' => $contact_id,
'source_record_id' => $membership['id'],
'subject' => 'Implicit membership renewal',
'status_id' => 'Completed',
'activity_date_time' => $contribution['receive_date'],
);
]);
}
return $return;
}
Expand Down

0 comments on commit 2deb5cb

Please sign in to comment.