From a2a1e95026663c311ee23a6c4acea33aa6b47076 Mon Sep 17 00:00:00 2001 From: Pratik Joshi Date: Tue, 25 Mar 2014 11:53:52 +0530 Subject: [PATCH] CRM-13973-qa : fix for NOTICE warning found --- CRM/Event/Form/Registration/Register.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Event/Form/Registration/Register.php b/CRM/Event/Form/Registration/Register.php index 9657fc4e8e..02f6ae5235 100644 --- a/CRM/Event/Form/Registration/Register.php +++ b/CRM/Event/Form/Registration/Register.php @@ -542,7 +542,7 @@ 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 (property_exists($form, '_noFees') && $form->_noFees) { return; } -- 2.25.1