projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #17345 from eileenmcnaughton/ev_batch
[civicrm-core.git]
/
CRM
/
Core
/
DAO
/
permissions.php
diff --git
a/CRM/Core/DAO/permissions.php
b/CRM/Core/DAO/permissions.php
index 56c4938811405dd9b410570da863cb1bd5850ccc..45fe4f8c0924d76c2e62b43ce2fa570b36a34642 100644
(file)
--- a/
CRM/Core/DAO/permissions.php
+++ b/
CRM/Core/DAO/permissions.php
@@
-44,5
+44,5
@@
function _civicrm_api3_permissions($entity, $action, &$params) {
// Translate specific actions into their generic equivalents
$action = CRM_Core_Permission::getGenericAction($action);
- return
isset($perm[$action]) ? $perm[$action] :
$perm['default'];
+ return
$perm[$action] ??
$perm['default'];
}