Skip to content

Commit

Permalink
Merge pull request #26513 from colemanw/fixGrantAccess
Browse files Browse the repository at this point in the history
CiviGrant - Fix error when creating grant without permissions
  • Loading branch information
colemanw authored Jun 12, 2023
2 parents 8eecaf9 + 9198b28 commit 1b11059
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/civigrant/CRM/Grant/BAO/Grant.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ public static function add($params, $ids = []) {
$title = CRM_Contact_BAO_Contact::displayName($grant->contact_id) . ' - ' . ts('Grant') . ': ' . $grantTypes[$grant->grant_type_id];

civicrm_api4('RecentItem', 'create', [
'checkPermissions' => FALSE,
'values' => [
'entity_type' => 'Grant',
'entity_id' => $grant->id,
Expand Down

0 comments on commit 1b11059

Please sign in to comment.