From: Seamus Lee Date: Wed, 23 May 2018 21:55:05 +0000 (+1000) Subject: dev/core#135 Fix first of 2 non numeric issues in CRM_Batch_form_entryTest X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5c6f56b5df27fc78bbfc60d379828434130fbecc;p=civicrm-core.git dev/core#135 Fix first of 2 non numeric issues in CRM_Batch_form_entryTest --- diff --git a/CRM/Batch/Form/Entry.php b/CRM/Batch/Form/Entry.php index 0e1a00cd31..2a3a128c2a 100644 --- a/CRM/Batch/Form/Entry.php +++ b/CRM/Batch/Form/Entry.php @@ -718,7 +718,7 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form { } } - $params['actualBatchTotal'] += $value['total_amount']; + $params['actualBatchTotal'] += (float) $value['total_amount']; unset($value['financial_type']); unset($value['payment_instrument']);