CRM-15320 Accounted for partial soft credits which previous code didn't
authorMaggie <maggie.epps@gmail.com>
Wed, 17 Sep 2014 15:41:43 +0000 (11:41 -0400)
committerMaggie <maggie.epps@gmail.com>
Wed, 17 Sep 2014 15:41:43 +0000 (11:41 -0400)
CRM/Member/BAO/Membership.php

index 77bcf4a06eb5805ab7ba3a0d770315ea37d370d3..ce9356dc27a036f6f6697cafdb3877d9cf7cacb7 100644 (file)
@@ -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);
       }
     }