Skip to content

Commit

Permalink
Merge pull request civicrm#28803 from eileenmcnaughton/notice
Browse files Browse the repository at this point in the history
E-notice fix in membership workflow examples
  • Loading branch information
demeritcowboy authored Dec 28, 2023
2 parents 32c0a20 + bdd00c0 commit d85d92f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Member/WorkflowMessage/Membership/Membership.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function getExamples(): iterable {
}
yield [
'name' => 'workflow/' . $workflow . '/' . strtolower($membershipType['name']) . '_' . strtolower($priceSet['name']) . '_' . strtolower($defaultCurrency),
'title' => ($priceSet['contribution_page_id'] ? $this->getContributionPage($priceSet['contribution_page_id'])['title'] : $priceSet['title']) . ' - ' . $membershipType['name'] . ' : ' . $defaultCurrency,
'title' => (!empty($priceSet['contribution_page_id']) ? $this->getContributionPage($priceSet['contribution_page_id'])['title'] : $priceSet['title']) . ' - ' . $membershipType['name'] . ' : ' . $defaultCurrency,
'tags' => ['preview'],
'workflow' => $workflow,
'membership_type' => $membershipType,
Expand Down

0 comments on commit d85d92f

Please sign in to comment.