Hi, when an anonymous user subscribes to a mailing list, I receive the following error message:

Notice: Undefined variable: admin in mailing_list_subscription_form_submit() (line 505 of C:\wamp\www\gwnh\sites\all\modules\mailing_list\mailing_list.module).

When a user is logged in, there is no issue.

CommentFileSizeAuthor
#3 set_admin.patch424 bytesIntoTheWoods

Comments

Anonymous’s picture

I'm getting the same error. The user is still added to the site, but the error pops up.

thewashman’s picture

Same message here. Using on a non-member based site. Everybody gets this error. Any patch?

IntoTheWoods’s picture

Status: Active » Needs review
StatusFileSize
new424 bytes

Here you go.

thewashman’s picture

Status: Needs review » Closed (fixed)

Works Perfect.

Thank you!

IntoTheWoods’s picture

Status: Closed (fixed) » Needs review

You're welcome, but don't close the issue until the patch gets reviewed and committed by the maintainer.

manuel.adan’s picture

Issue summary: View changes
Status: Needs review » Fixed

Committed. Closing some old issues.

Status: Fixed » Closed (fixed)

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