From 268872430eec2b6ca96eef2d58fa871580d46a35 Mon Sep 17 00:00:00 2001 From: jitendrapurohit Date: Mon, 6 Jul 2015 10:19:50 +0530 Subject: [PATCH] warning fix --- CRM/Event/Form/ManageEvent/Registration.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CRM/Event/Form/ManageEvent/Registration.php b/CRM/Event/Form/ManageEvent/Registration.php index 5ec1958367..5c4392ac38 100644 --- a/CRM/Event/Form/ManageEvent/Registration.php +++ b/CRM/Event/Form/ManageEvent/Registration.php @@ -80,11 +80,11 @@ class CRM_Event_Form_ManageEvent_Registration extends CRM_Event_Form_ManageEvent $ufCreate = CRM_ACL_API::group(CRM_Core_Permission::CREATE, NULL, 'civicrm_uf_group', $ufGroups); $ufEdit = CRM_ACL_API::group(CRM_Core_Permission::EDIT, NULL, 'civicrm_uf_group', $ufGroups); $checkPermission = array( - array( - 'administer CiviCRM', - 'manage event profiles', - ), - ); + array( + 'administer CiviCRM', + 'manage event profiles', + ), + ); if (CRM_Core_Permission::check($checkPermission) || !empty($ufCreate) || !empty($ufEdit)) { $this->assign('perm', 1); } -- 2.25.1