Force link in confirmation email to be front-end
authorChristian Wach <needle@haystack.co.uk>
Mon, 3 Jun 2019 10:01:09 +0000 (11:01 +0100)
committerChristian Wach <needle@haystack.co.uk>
Mon, 3 Jun 2019 10:01:09 +0000 (11:01 +0100)
CRM/Mailing/Event/BAO/Subscribe.php

index 393216364ee45ea999df3e71ddd9c7282ba246c0..7dcb99f9d63770bd89f8f16ba82056c14bc51a04 100644 (file)
@@ -231,7 +231,7 @@ SELECT     civicrm_email.id as email_id
 
     $url = CRM_Utils_System::url('civicrm/mailing/confirm',
       "reset=1&cid={$this->contact_id}&sid={$this->id}&h={$this->hash}",
-      TRUE
+      TRUE, NULL, TRUE, TRUE
     );
 
     $html = $component->body_html;