From: atif-shaikh Date: Thu, 11 Sep 2014 13:57:35 +0000 (+0530) Subject: CRM-15240 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b6d5469cd9c8b3d17190ed945d61ad1242b776a8;p=civicrm-core.git CRM-15240 --- diff --git a/CRM/Event/Form/Registration/Register.php b/CRM/Event/Form/Registration/Register.php index 3438149ab0..bc26ae04e3 100644 --- a/CRM/Event/Form/Registration/Register.php +++ b/CRM/Event/Form/Registration/Register.php @@ -547,12 +547,6 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { * @static */ 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 (!empty($form->_noFees)) { - return; - } - //if payment done, no need to build the fee block. if (!empty($form->_paymentId)) { //fix to display line item in update mode.