From 60345ce23a1f21dd22fc3fae375a921e1af8fed9 Mon Sep 17 00:00:00 2001 From: Martin Date: Sun, 17 Mar 2019 19:47:49 -0400 Subject: [PATCH] dev/core#789 - Bug fix for event reg error when skipping participants (#13800) --- CRM/Event/Form/Registration/Confirm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Event/Form/Registration/Confirm.php b/CRM/Event/Form/Registration/Confirm.php index 7da2d04551..3284eb437f 100644 --- a/CRM/Event/Form/Registration/Confirm.php +++ b/CRM/Event/Form/Registration/Confirm.php @@ -215,7 +215,6 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration { $taxAmount = 0; foreach ($this->_params as $k => $v) { - $this->cleanMoneyFields($v); if ($v == 'skip') { continue; } @@ -223,6 +222,7 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration { //display tax amount on confirmation page $taxAmount += $v['tax_amount']; if (is_array($v)) { + $this->cleanMoneyFields($v); foreach (array( 'first_name', 'last_name', -- 2.25.1