From: Seamus Lee
Date: Fri, 16 Apr 2021 02:05:34 +0000 (+1000)
Subject: dev/core#403 Fix Petition Confirmation Email template by removing the trailing space...
X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=9a33a6f243839fe0b9362dcd41ce66632db0c26e;p=civicrm-core.git
dev/core#403 Fix Petition Confirmation Email template by removing the trailing space on the confirmation url from the href tag
---
diff --git a/CRM/Upgrade/Incremental/MessageTemplates.php b/CRM/Upgrade/Incremental/MessageTemplates.php
index 0fc233bb2b..6958deaa82 100644
--- a/CRM/Upgrade/Incremental/MessageTemplates.php
+++ b/CRM/Upgrade/Incremental/MessageTemplates.php
@@ -232,6 +232,13 @@ class CRM_Upgrade_Incremental_MessageTemplates {
['name' => 'contribution_invoice_receipt', 'type' => 'html'],
],
],
+ [
+ 'version' => '5.38.alpha1',
+ 'upgrade_descriptor' => ts('Fix Petition Confirmation email having a blank space at the end of url'),
+ 'templates' => [
+ ['name' => 'petition_confirmation_needed', 'type' => 'html'],
+ ],
+ ],
];
}
diff --git a/xml/templates/message_templates/petition_confirmation_needed_html.tpl b/xml/templates/message_templates/petition_confirmation_needed_html.tpl
index 657000a8e6..d0852c0d5a 100644
--- a/xml/templates/message_templates/petition_confirmation_needed_html.tpl
+++ b/xml/templates/message_templates/petition_confirmation_needed_html.tpl
@@ -7,6 +7,6 @@
Please do so by visiting the following web page by clicking
on the link below or pasting the link into your browser.
-Email confirmation page: {$petition.confirmUrl}
+Email confirmation page: {$petition.confirmUrl}
If you did not sign this petition, please ignore this message.