projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7aa8fea
)
Refs: dev/core#3671 Fix regression involving CiviCRM Webform + Cases.
author
Luke Stewart
<luke@stewart.geek.nz>
Sat, 18 Jun 2022 23:58:01 +0000
(11:58 +1200)
committer
Luke Stewart
<luke@stewart.geek.nz>
Sat, 18 Jun 2022 23:58:01 +0000
(11:58 +1200)
Ignores permissions on api4 call in Recent::getTitle()
CRM/Utils/Recent.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/Recent.php
b/CRM/Utils/Recent.php
index 04e5801edb75f7a02f084c94ef7ea096a76386ff..ab28c07ae95c548340faca6ef5268ee238694c6b 100644
(file)
--- a/
CRM/Utils/Recent.php
+++ b/
CRM/Utils/Recent.php
@@
-182,6
+182,7
@@
class CRM_Utils_Recent {
$record = civicrm_api4($entityType, 'get', [
'where' => [['id', '=', $entityId]],
'select' => [$labelField],
+ 'checkPermissions' => FALSE,
], 0);
$title = $record[$labelField] ?? NULL;
}