From b621b49612861350c5125538b36aa068e5469084 Mon Sep 17 00:00:00 2001 From: eileenmcnaughton Date: Sun, 16 Aug 2015 13:44:52 +0000 Subject: [PATCH] CRM-16737 adjustment, (do not merge to master) referred to wrong param --- CRM/Member/Form/Membership.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Member/Form/Membership.php b/CRM/Member/Form/Membership.php index 2edfa77186..6ed7585127 100644 --- a/CRM/Member/Form/Membership.php +++ b/CRM/Member/Form/Membership.php @@ -1429,7 +1429,7 @@ WHERE id IN ( ' . implode(' , ', array_keys($membershipType)) . ' )'; // CRM-16737 $result['contribution_status_id'] is deprecated in favour // of payment_status_id as the payment processor only knows whether the payment is complete // not whether payment completes the contribution - $params['contribution_status_id'] = $params['payment_status_id']; + $params['contribution_status_id'] = $result['payment_status_id']; } // do what used to happen previously else { -- 2.25.1