In function simplenews_subscription_manager_form()

    $subscription = simplenews_get_subscription($user->mail);

should probably be

    $subscription = simplenews_get_user_subscription($user->mail);
CommentFileSizeAuthor
#1 simplenews.module_3.patch618 bytessutharsan

Comments

sutharsan’s picture

Status: Active » Reviewed & tested by the community
StatusFileSize
new618 bytes

Thanks for reporting this bug. I've tested the code as described it and made the patch.
This fix should also be applied to HEAD and 4-7--2 branch.

sutharsan’s picture

Status: Reviewed & tested by the community » Closed (duplicate)

I knew I saw this code before, and only after posting I kew: http://drupal.org/node/112191

I will close this patch since it introduces other problems with unsubscribed users using the path 'newsletter/subscriptions'. The above issues solves all.