From b2b59848f5fff9998832413e8629753d67d8636e Mon Sep 17 00:00:00 2001 From: eileenmcnaugton Date: Mon, 10 Aug 2015 15:52:16 +1200 Subject: [PATCH] CRM-16993 actual fix on not crashing when recurring is paid --- CRM/Member/Form/Membership.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Member/Form/Membership.php b/CRM/Member/Form/Membership.php index 165d457529..b286d19337 100644 --- a/CRM/Member/Form/Membership.php +++ b/CRM/Member/Form/Membership.php @@ -1612,6 +1612,7 @@ class CRM_Member_Form_Membership extends CRM_Member_Form { // process - // @see http://wiki.civicrm.org/confluence/pages/viewpage.action?pageId=261062657#Payments&AccountsRoadmap-Movetowardsalwaysusinga2-steppaymentprocess $membershipParams['contribution_status_id'] = CRM_Utils_Array::value('payment_status_id', $result); + unset($membershipParams['lineItems']); $membership = CRM_Member_BAO_Membership::create($membershipParams, $ids); $params['contribution'] = CRM_Utils_Array::value('contribution', $membershipParams); unset($params['lineItems']); -- 2.25.1