Skip to content

Commit

Permalink
CRM-20510: Petition signature doesn't show as an activity type for sc…
Browse files Browse the repository at this point in the history
…heduled reminder
  • Loading branch information
monishdeb committed May 6, 2017
1 parent 5731dce commit 4efde58
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Civi/ActionSchedule/Mapping.php
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,8 @@ public function getRecipientListing($recipientType) {
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();
Expand Down

0 comments on commit 4efde58

Please sign in to comment.