From 5c6f56b5df27fc78bbfc60d379828434130fbecc Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Thu, 24 May 2018 07:55:05 +1000 Subject: [PATCH] dev/core#135 Fix first of 2 non numeric issues in CRM_Batch_form_entryTest --- CRM/Batch/Form/Entry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']); -- 2.25.1