projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b849bd9
)
dev/core#135 Fix first of 2 non numeric issues in CRM_Batch_form_entryTest
author
Seamus Lee
<seamuslee001@gmail.com>
Wed, 23 May 2018 21:55:05 +0000
(07:55 +1000)
committer
Seamus Lee
<seamuslee001@gmail.com>
Wed, 23 May 2018 21:55:05 +0000
(07:55 +1000)
CRM/Batch/Form/Entry.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Batch/Form/Entry.php
b/CRM/Batch/Form/Entry.php
index 0e1a00cd314c47fc2b77c403747635904f41cd79..2a3a128c2ac8b348632fb13aaed2a07005b344c5 100644
(file)
--- 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']);