From: Maggie Date: Wed, 17 Sep 2014 15:41:43 +0000 (-0400) Subject: CRM-15320 Accounted for partial soft credits which previous code didn't X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=2454f331c6daac6af2684503f6acdc8c597afc97;p=civicrm-core.git CRM-15320 Accounted for partial soft credits which previous code didn't --- 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); } }