From 2454f331c6daac6af2684503f6acdc8c597afc97 Mon Sep 17 00:00:00 2001 From: Maggie Date: Wed, 17 Sep 2014 11:41:43 -0400 Subject: [PATCH] CRM-15320 Accounted for partial soft credits which previous code didn't --- CRM/Member/BAO/Membership.php | 1 - 1 file changed, 1 deletion(-) diff --git a/CRM/Member/BAO/Membership.php b/CRM/Member/BAO/Membership.php index 77bcf4a06e..ce9356dc27 100644 --- a/CRM/Member/BAO/Membership.php +++ b/CRM/Member/BAO/Membership.php @@ -2855,7 +2855,6 @@ WHERE civicrm_membership.is_test = 0"; foreach ($contributionSoftParams as $contributionSoft){ $contributionSoft['contribution_id'] = $contribution->id; $contributionSoft['currency'] = $contribution->currency; - $contributionSoft['amount'] = $contribution->total_amount; CRM_Contribute_BAO_ContributionSoft::add($contributionSoft); } } -- 2.25.1