From: jitendrapurohit Date: Mon, 6 Jul 2015 04:49:50 +0000 (+0530) Subject: warning fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=268872430eec2b6ca96eef2d58fa871580d46a35;p=civicrm-core.git warning fix --- 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); }