Closed (fixed)
Project:
Simplenews
Version:
6.x-1.0-rc6
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2009 at 09:54 UTC
Updated:
13 Nov 2009 at 14:30 UTC
The mail sent for anonymous users contains "!mailto" and "!site" strings.
The problem comes from simplenews.module:
...
$vars = $subscription->uid ? user_mail_tokens($subscription, $language) : array();
...
I would change it to:
...
$vars = $subscription->uid ? user_mail_tokens($subscription, $language) : user_mail_tokens($context['account'], $language);
...
Comments
Comment #1
sutharsan commentedUse the latest 6.x-1.x-dev.