Upon submitting the user registration form, if there are no active autoresponder sets to be displayed on the form, then an error happens in the foreach statement on line 1225 in autoresponder.module.

The problem is the empty sets array (responder sets) passed into foreach.

CommentFileSizeAuthor
#1 autoresponder-315295-1.patch838 bytesench0

Comments

ench0’s picture

Status: Active » Needs review
StatusFileSize
new838 bytes

The attached patch fixes this problem.

aleksey.tk’s picture

Status: Needs review » Fixed

Fixed in Drupal 5 HEAD by Appying your patch. Thanks!

Status: Fixed » Closed (fixed)

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