From b832a43d820c8c9b7e836576d405e9418e8e946b Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Tue, 25 Apr 2017 11:04:46 +1000 Subject: [PATCH] Add in some further comments --- CRM/Activity/BAO/Activity.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CRM/Activity/BAO/Activity.php b/CRM/Activity/BAO/Activity.php index 78cf7b1ed6..18e0583b43 100644 --- a/CRM/Activity/BAO/Activity.php +++ b/CRM/Activity/BAO/Activity.php @@ -679,7 +679,10 @@ class CRM_Activity_BAO_Activity extends CRM_Activity_DAO_Activity { $activityIDs = explode(',', $activityIDs); } - // CRM-20441 Check if user has access to the activities + // CRM-20441 Check if user has access to the activities. + // This is a temporary fix we need to figure out the rules around + // the right permissions to access Activities. + // This attpemts to reduce fatal errors in 4.7.19 RC. foreach ($activityIDs as $key => $activityId) { try { civicrm_api3('Activity', 'get', array('id' => $activityId, 'check_permissions' => 1)); -- 2.25.1