----------------------------------------
* CRM-19235: Notice related to report permission on localized CiviCRM
https://issues.civicrm.org/jira/browse/CRM-19235
$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;