warning fix
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Mon, 6 Jul 2015 04:49:50 +0000 (10:19 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Mon, 6 Jul 2015 04:49:50 +0000 (10:19 +0530)
CRM/Event/Form/ManageEvent/Registration.php

index 5ec1958367525b58ba6bd9f3805d89dbd744daab..5c4392ac38764db048620d153b2ff7b8b3e8cf3b 100644 (file)
@@ -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);
     }