Skip to content
Snippets Groups Projects
Commit 2c975c3d authored by Luke Stewart's avatar Luke Stewart
Browse files

Refs: #3671 Fix regression involving CiviCRM Webform + Cases.

Ignores permissions on api4 call in Recent::getTitle()
parent 7aa8fea1
Branches
Tags
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment