Skip to content

Commit

Permalink
Fixed notice error for permission defination
Browse files Browse the repository at this point in the history
  • Loading branch information
pradpnayak committed Apr 25, 2024
1 parent 9d212f5 commit 7e822d0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions eWAYRecurring.php
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,10 @@ function ewayrecurring_civicrm_coreResourceList(&$list, $region) {
* @param $permissions permissions list to add to
*/
function ewayrecurring_civicrm_permission(&$permissions) {
$permissions['view payment tokens'] = E::ts('CiviContribute: view payment tokens');
$permissions['edit payment tokens'] = E::ts('CiviContribute: edit payment tokens');
$permissions['view payment tokens'] = [
'label' => E::ts('CiviContribute: view payment tokens'),
];
$permissions['edit payment tokens'] = [
'label' => E::ts('CiviContribute: edit payment tokens'),
];
}

0 comments on commit 7e822d0

Please sign in to comment.