Skip to content

Commit

Permalink
E_NOTICES
Browse files Browse the repository at this point in the history
  • Loading branch information
demeritcowboy committed Dec 13, 2022
1 parent 5c2400f commit ca33d8b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CRM/Activity/Form/ActivityView.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,11 @@ public function preProcess() {
}
}

// ensure these are set so that they get assigned to the template
$values['mailingId'] = $values['mailingId'] ?? NULL;
$values['campaign'] = $values['campaign'] ?? NULL;
$values['engagement_level'] = $values['engagement_level'] ?? NULL;

// Get the campaign.
if ($campaignId = CRM_Utils_Array::value('campaign_id', $defaults)) {
$campaigns = CRM_Campaign_BAO_Campaign::getCampaigns($campaignId);
Expand Down

0 comments on commit ca33d8b

Please sign in to comment.