Download & Extend

Error message upon anonymous subscribe.

Project:Mailing List
Version:7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

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.

Comments

#1

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

#2

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

#3

Status:active» needs review

Here you go.

AttachmentSize
set_admin.patch 424 bytes

#4

Status:needs review» closed (fixed)

Works Perfect.

Thank you!

#5

Status:closed (fixed)» needs review

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

nobody click here