From: eileenmcnaugton Date: Mon, 10 Aug 2015 03:52:16 +0000 (+1200) Subject: CRM-16993 actual fix on not crashing when recurring is paid X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b2b59848f5fff9998832413e8629753d67d8636e;p=civicrm-core.git CRM-16993 actual fix on not crashing when recurring is paid --- 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']);