dev/core#403 Fix Petition Confirmation Email template by removing the trailing space...
authorSeamus Lee <seamuslee001@gmail.com>
Fri, 16 Apr 2021 02:05:34 +0000 (12:05 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Fri, 16 Apr 2021 02:05:34 +0000 (12:05 +1000)
CRM/Upgrade/Incremental/MessageTemplates.php
xml/templates/message_templates/petition_confirmation_needed_html.tpl

index 0fc233bb2b23babf415ff15c0bad2b11a7d370d5..6958deaa82cd8d643541d834f23fb351ebd4fd08 100644 (file)
@@ -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'],
+        ],
+      ],
     ];
   }
 
index 657000a8e60974534b7b7c902c037fd694e7849c..d0852c0d5a132de812dd9af5cc6ea8a75d2e406f 100644 (file)
@@ -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.
 <br /><br />
-Email confirmation page: <a href="{$petition.confirmUrl} ">{$petition.confirmUrl}</a></p>
+Email confirmation page: <a href="{$petition.confirmUrl}">{$petition.confirmUrl}</a></p>
 
 <p>If you did not sign this petition, please ignore this message.</p>