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

CommentFileSizeAuthor
patch54.patch1.05 KBScott Reynolds

Comments

robert castelo’s picture

Status: Needs review » Fixed

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

Anonymous’s picture

Status: Fixed » Closed (fixed)

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