From c40f0e576f69daf019fd2c778967d9e6c60ace22 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 19 Mar 2020 08:19:12 -0400 Subject: [PATCH] Fix checking permissions in api3 profile get The boolean being passed to the $skipPermission param was reversed. --- api/v3/Profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/v3/Profile.php b/api/v3/Profile.php index 72fdcf30b6..fb0597faf5 100644 --- a/api/v3/Profile.php +++ b/api/v3/Profile.php @@ -63,7 +63,7 @@ function civicrm_api3_profile_get($params) { NULL, FALSE, NULL, - empty($params['check_permissions']) ? FALSE : TRUE, + empty($params['check_permissions']), NULL, CRM_Core_Permission::EDIT ); -- 2.25.1