From: Bob Silvern Date: Sat, 13 Aug 2016 15:37:47 +0000 (-0700) Subject: CRM-19201 - Correct comment. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f8f5515a805bb49a22f6e08d0e1ffe00f94ce4c6;p=civicrm-core.git CRM-19201 - Correct comment. ---------------------------------------- * CRM-19201: Cannot search CiviCampaign/CiviCase activities or report CiviCampaign activities https://issues.civicrm.org/jira/browse/CRM-19201 --- 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}) "; }