Skip to content

Commit

Permalink
event#32: Fix bad URL in message template
Browse files Browse the repository at this point in the history
  • Loading branch information
MegaphoneJon committed Jan 24, 2020
1 parent 864483f commit a77fa2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CRM/Upgrade/Incremental/MessageTemplates.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,11 @@ protected function getTemplateUpdates() {
],
[
'version' => '5.23.alpha1',
'upgrade_descriptor' => ts('Add Contributor Name to Offline Contribution receipts'),
'upgrade_descriptor' => ts('Add Contributor Name to Offline Contribution receipts; fix bad event self-service URL'),
'templates' => [
['name' => 'contribution_offline_receipt', 'type' => 'text'],
['name' => 'contribution_offline_receipt', 'type' => 'html'],
['name' => 'participant_confirm_html', 'type' => 'html'],
],
],

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
{/if}
{if $event.allow_selfcancelxfer }
{ts}This event allows for{/ts}
{capture assign=selfService}{crmURL p='civicrm/event/selfsvcupdate' q="reset=1&pid=`$participantID`&{contact.checksum}" h=0 a=1 fe=1}{/capture}
{capture assign=selfService}{crmURL p='civicrm/event/selfsvcupdate' q="reset=1&pid=`$participant.id`&{contact.checksum}" h=0 a=1 fe=1}{/capture}
<a href="{$selfService}"> {ts}self service cancel or transfer{/ts}</a>
{/if}

Expand Down

0 comments on commit a77fa2b

Please sign in to comment.