Download & Extend

user register - $conditions['extra'] is null

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

AttachmentSize
patch54.patch1.05 KB

Comments

#1

Status:needs review» fixed

fixed in the next commit, on Drupal 5 and 6 versions.

#2

Status:fixed» closed (fixed)

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