From b81a535de62d64c1fac4089bb4b23210b56372af Mon Sep 17 00:00:00 2001 From: Dominic Tubach Date: Wed, 20 Mar 2024 15:37:14 +0100 Subject: [PATCH] Update permission declaration See https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_permission/ --- civioffice.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/civioffice.php b/civioffice.php index e4c3944..fc436c3 100644 --- a/civioffice.php +++ b/civioffice.php @@ -118,8 +118,8 @@ function civioffice_civicrm_config(&$config) */ function civioffice_civicrm_permission(&$permissions) { $permissions['access CiviOffice'] = [ - E::ts('Access CiviOffice'), - E::ts('Create documents using CiviOffice.'), + 'label' => E::ts('Access CiviOffice'), + 'description' => E::ts('Create documents using CiviOffice.'), ]; }