From b6e641a429999af110eee71fd077c05e50b8912b Mon Sep 17 00:00:00 2001 From: Dave Greenberg Date: Wed, 9 Apr 2014 13:34:57 -0700 Subject: [PATCH] CRM-14450 - fix notice on additional participants form. ---------------------------------------- * CRM-14450: https://issues.civicrm.org/jira/browse/CRM-14450 --- CRM/Event/Form/Registration/Register.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Event/Form/Registration/Register.php b/CRM/Event/Form/Registration/Register.php index a20c29aeca..3438149ab0 100644 --- a/CRM/Event/Form/Registration/Register.php +++ b/CRM/Event/Form/Registration/Register.php @@ -549,13 +549,13 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { static public function buildAmount(&$form, $required = TRUE, $discountId = NULL) { // build amount only when needed, skip incase of event full and waitlisting is enabled // and few other conditions check preProcess() - if ($form->_noFees) { + if (!empty($form->_noFees)) { return; } //if payment done, no need to build the fee block. if (!empty($form->_paymentId)) { - //fix to diaplay line item in update mode. + //fix to display line item in update mode. $form->assign('priceSet', isset($form->_priceSet) ? $form->_priceSet : NULL); return; } -- 2.25.1