Download & Extend

Mail template for anonymous subscriptions

Project:Simplenews
Version:6.x-1.0-rc6
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

The mail sent for anonymous users contains "!mailto" and "!site" strings.

The problem comes from simplenews.module:

<?php
 
...
 
$vars = $subscription->uid ? user_mail_tokens($subscription, $language) : array();
  ...
?>

I would change it to:

<?php
 
...
 
$vars = $subscription->uid ? user_mail_tokens($subscription, $language) : user_mail_tokens($context['account'], $language);
  ...
?>

Comments

#1

Status:active» fixed

Use the latest 6.x-1.x-dev.

#2

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here