From f8f5515a805bb49a22f6e08d0e1ffe00f94ce4c6 Mon Sep 17 00:00:00 2001 From: Bob Silvern Date: Sat, 13 Aug 2016 08:37:47 -0700 Subject: [PATCH] CRM-19201 - Correct comment. ---------------------------------------- * CRM-19201: Cannot search CiviCampaign/CiviCase activities or report CiviCampaign activities https://issues.civicrm.org/jira/browse/CRM-19201 --- CRM/Activity/Selector/Search.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CRM/Activity/Selector/Search.php b/CRM/Activity/Selector/Search.php index dcd396daaf..0e2549c63c 100644 --- a/CRM/Activity/Selector/Search.php +++ b/CRM/Activity/Selector/Search.php @@ -174,11 +174,11 @@ class CRM_Activity_Selector_Search extends CRM_Core_Selector_Base implements CRM $components = CRM_Core_Component::getNames(); $componentClause = array(); foreach ($components as $componentID => $componentName) { - // CRM-19201: Add support for reporting CiviCampaign activities - // For CiviCase, "access all cases and activities" is required here - // rather than "access my cases and activities" to prevent those with - // only the later permission from seeing a list of all cases which might - // present a privacy issue. + // CRM-19201: Add support for searching CiviCampaign and CiviCase + // activities. For CiviCase, "access all cases and activities" is + // required here rather than "access my cases and activities" to + // prevent those with only the later permission from seeing a list + // of all cases which might present a privacy issue. if (!CRM_Core_Permission::access($componentName, TRUE, TRUE)) { $componentClause[] = " (activity_type.component_id IS NULL OR activity_type.component_id <> {$componentID}) "; } -- 2.25.1