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;
}