From 7bde3600c2c3de6f0d61bfbf058c52bfa731bf33 Mon Sep 17 00:00:00 2001 From: monishdeb Date: Thu, 29 Oct 2015 11:49:27 +0530 Subject: [PATCH] CRM-17457 fix - Enotices when skip participant is used https://issues.civicrm.org/jira/browse/CRM-17457 --- CRM/Event/Form/Registration/Confirm.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CRM/Event/Form/Registration/Confirm.php b/CRM/Event/Form/Registration/Confirm.php index e1e3511ab8..65a77813fc 100644 --- a/CRM/Event/Form/Registration/Confirm.php +++ b/CRM/Event/Form/Registration/Confirm.php @@ -237,6 +237,9 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration { $taxAmount = 0; foreach ($this->_params as $k => $v) { + if ($v == 'skip') { + continue; + } $individualTaxAmount = 0; //display tax amount on confirmation page $taxAmount += $v['tax_amount']; -- 2.25.1