Skip to content
Snippets Groups Projects
Commit 45b8f3dd authored by Peter Hartmann's avatar Peter Hartmann
Browse files

fix missing array key

parent 2a4bc572
No related branches found
No related tags found
No related merge requests found
...@@ -722,7 +722,7 @@ class CRM_Core_Payment_Stripe extends CRM_Core_Payment { ...@@ -722,7 +722,7 @@ class CRM_Core_Payment_Stripe extends CRM_Core_Payment {
$membership_type_tag = ''; $membership_type_tag = '';
$membership_name = ''; $membership_name = '';
if (isset($params['selectMembership'])) { if (isset($params['selectMembership'])) {
$membership_type_id = $params['selectMembership']; $membership_type_id = $params['selectMembership'][0];
$membership_type_tag = 'membertype_' . $membership_type_id . '-'; $membership_type_tag = 'membertype_' . $membership_type_id . '-';
$membershipType = civicrm_api3('MembershipType', 'get', array( $membershipType = civicrm_api3('MembershipType', 'get', array(
'sequential' => 1, 'sequential' => 1,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment