Posted by Scott Reynolds on April 12, 2008 at 6:14am
Jump to:
| Project: | Legal |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
In our database we haven't set legal_conditions.extras . So its NULL in our table. This causes issues when a user registers etc on a foreach loop on line 520 as the foreach is applied to a NULL variable.
This patch catches a NULL extras db record and sets $conditions['extras'] = array() thus preventing foreach error
| Attachment | Size |
|---|---|
| patch54.patch | 1.05 KB |
Comments
#1
fixed in the next commit, on Drupal 5 and 6 versions.
#2
Automatically closed -- issue fixed for two weeks with no activity.