From: eileen Date: Fri, 26 Mar 2021 00:20:44 +0000 (+1300) Subject: [Ref] One more place to use total fn X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e6c1e80b857145fec89528f476327c258f8d9de1;p=civicrm-core.git [Ref] One more place to use total fn --- diff --git a/CRM/Member/Form/Membership.php b/CRM/Member/Form/Membership.php index c435bde729..5e5b834311 100644 --- a/CRM/Member/Form/Membership.php +++ b/CRM/Member/Form/Membership.php @@ -1097,7 +1097,7 @@ DESC limit 1"); $params['register_date'] = CRM_Utils_Time::date('YmdHis'); // add all the additional payment params we need - $formValues['amount'] = $params['total_amount']; + $formValues['amount'] = $this->order->getTotalAmount(); $formValues['currencyID'] = $this->getCurrency(); $formValues['description'] = ts("Contribution submitted by a staff person using member's credit card for signup"); $formValues['invoiceID'] = $this->getInvoiceID();