Error in foreach on line 1225 in autoresponder.module, happens on user registration

ench0 - September 30, 2008 - 14:38
Project:Autoresponder
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:ench0
Status:closed
Description

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.

#1

ench0 - September 30, 2008 - 14:42
Status:active» needs review

The attached patch fixes this problem.

AttachmentSize
autoresponder-315295-1.patch 838 bytes

#2

cyberpunk - February 7, 2009 - 15:03
Status:needs review» fixed

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

#3

System Message - February 21, 2009 - 15:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.