From c31bec3d59372c5bd49f39d28c4dc54497813ab8 Mon Sep 17 00:00:00 2001 From: eileenmcnaugton Date: Tue, 4 Aug 2015 18:04:53 +1200 Subject: [PATCH] CRM-16523 assume 'new' where membership is being updated from pending --- CRM/Contribute/BAO/Contribution.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/BAO/Contribution.php b/CRM/Contribute/BAO/Contribution.php index 23c76a13d4..837d9789cd 100644 --- a/CRM/Contribute/BAO/Contribution.php +++ b/CRM/Contribute/BAO/Contribution.php @@ -4067,7 +4067,7 @@ LIMIT 1;"; $membershipParams ); - $membershipParams['status_id'] = CRM_Utils_Array::value('id', $calcStatus, 2); + $membershipParams['status_id'] = CRM_Utils_Array::value('id', $calcStatus, 'New'); //we might be renewing membership, //so make status override false. $membershipParams['is_override'] = FALSE; -- 2.25.1