From 6b136ad7a976cb80ced34ec19cbca02249858d07 Mon Sep 17 00:00:00 2001 From: Pradeep Nayak Date: Wed, 22 Jul 2015 17:32:55 +0530 Subject: [PATCH] --ICM-15, added condition to check if FT-ACL is enabled or not --- CRM/Event/Form/EventFees.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CRM/Event/Form/EventFees.php b/CRM/Event/Form/EventFees.php index 83e4dad4d5..e01668180e 100644 --- a/CRM/Event/Form/EventFees.php +++ b/CRM/Event/Form/EventFees.php @@ -410,7 +410,8 @@ SELECT id, html_type $element->freeze(); } } - if (!CRM_Utils_Array::value('fee', $form->_values) + if (CRM_Financial_BAO_FinancialType::isACLFinancialTypeStatus() + && !CRM_Utils_Array::value('fee', $form->_values) && CRM_Utils_Array::value('snippet', $_REQUEST) == CRM_Core_Smarty::PRINT_NOFORM ) { $form->assign('isFTPermissionDenied', TRUE); -- 2.25.1