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
The attached patch fixes this problem.
#2
Fixed in Drupal 5 HEAD by Appying your patch. Thanks!
#3
Automatically closed -- issue fixed for 2 weeks with no activity.