From f420456d2270e2125ee793d6e7f14ff9799b4cae Mon Sep 17 00:00:00 2001 From: yashodha Date: Tue, 13 Sep 2016 13:28:35 +0530 Subject: [PATCH] CRM-19235 : Report locale notice ---------------------------------------- * CRM-19235: Notice related to report permission on localized CiviCRM https://issues.civicrm.org/jira/browse/CRM-19235 --- CRM/Report/Form/Instance.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CRM/Report/Form/Instance.php b/CRM/Report/Form/Instance.php index 22cf52d7c3..b726dfaf3c 100644 --- a/CRM/Report/Form/Instance.php +++ b/CRM/Report/Form/Instance.php @@ -221,8 +221,7 @@ class CRM_Report_Form_Instance { $navigationDefaults = array(); if (!isset($defaults['permission'])) { - $permissions = array_flip(CRM_Core_Permission::basicPermissions()); - $defaults['permission'] = $permissions['CiviReport: access CiviReport']; + $defaults['permission'] = 'access CiviReport'; } $userFrameworkResourceURL = CRM_Core_Config::singleton()->userFrameworkResourceURL; -- 2.25.1