CRM-21675: scheduled reminders: limit to group doesn't support smart groups
[civicrm-core.git] / Civi / ActionSchedule / Mapping.php
index 5f9b1b1518255a3b5e0350e7ff1ca117dc6bfcb5..dd25ee7af3803d7cfdaddff1786fd0de8a854d3f 100644 (file)
@@ -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();