From: deb.monish Date: Thu, 4 May 2017 08:04:55 +0000 (+0530) Subject: CRM-20510: Petition signature doesn't show as an activity type for scheduled reminder X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4efde586b41ae17e84f12cc326ebc0b984ac5fc4;p=civicrm-core.git CRM-20510: Petition signature doesn't show as an activity type for scheduled reminder --- diff --git a/Civi/ActionSchedule/Mapping.php b/Civi/ActionSchedule/Mapping.php index 5f9b1b1518..dd25ee7af3 100644 --- a/Civi/ActionSchedule/Mapping.php +++ b/Civi/ActionSchedule/Mapping.php @@ -286,7 +286,8 @@ abstract class Mapping implements MappingInterface { protected static function getValueLabelMap($name) { static $valueLabelMap = NULL; if ($valueLabelMap === NULL) { - $valueLabelMap['activity_type'] = \CRM_Core_PseudoConstant::activityType(TRUE, TRUE); + // CRM-20510: Include CiviCampaign activity types along with CiviCase IF component is enabled + $valueLabelMap['activity_type'] = \CRM_Core_PseudoConstant::activityType(TRUE, TRUE, FALSE, 'label', TRUE); asort($valueLabelMap['activity_type']); $valueLabelMap['activity_status'] = \CRM_Core_PseudoConstant::activityStatus();