diff options
author | Stefan Giehl <stefan@piwik.org> | 2018-08-11 10:19:38 +0300 |
---|---|---|
committer | Matthieu Aubry <mattab@users.noreply.github.com> | 2018-08-11 10:19:38 +0300 |
commit | bc33259f6b6fc730826eceeb2a029eef63e97fc0 (patch) | |
tree | 9f2d457ac09f150aaf5c353763141dfe4f82fb1f /plugins | |
parent | 78426614c226c50ba3ab9afc37aa2821500fa6d5 (diff) |
Use text as unsubscribe link (#13267)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ScheduledReports/ScheduledReports.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ScheduledReports/ScheduledReports.php b/plugins/ScheduledReports/ScheduledReports.php index f3e6c433f5..2aebe4daaa 100644 --- a/plugins/ScheduledReports/ScheduledReports.php +++ b/plugins/ScheduledReports/ScheduledReports.php @@ -365,7 +365,7 @@ class ScheduledReports extends \Piwik\Plugin // add unsubscribe links to content if ($htmlContent) { $link = SettingsPiwik::getPiwikUrl() . 'index.php?module=ScheduledReports&action=unsubscribe&token=' . $tokens[$email]; - $mail->setBodyHtml($htmlContent . '<br /><br /><hr /><br />'.Piwik::translate('ScheduledReports_UnsubscribeFooter', [' <a href="' . $link . '">' . $link . '</a>'])); + $mail->setBodyHtml($htmlContent . '<br /><br /><hr /><br />'.Piwik::translate('ScheduledReports_UnsubscribeFooter', [' <a href="' . $link . '">' . Piwik::translate('ScheduledReports_Unsubscribe') . '</a>'])); } if ($textContent) { |