Support » Plugin: Newsletter » TNP class bug

  • Resolved charliecek

    (@charliecek)


    Hi,

    I found a bug in the TNP class in the unsubscribe method: the 'unsubscribed_subject' and 'unsubscribed_message' options should be queried from NewsletterSubscription::instance()->options instead of $newsletter->options.

    The bug causes the $newsletter->mail method to get empty subject and message arguments, so no emails are getting sent when a user is unsubscribed (in my case, via the REST API).

    Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘TNP class bug’ is closed to new replies.