Download & Extend

Watchdog foreach error during user insert

Project:Legal
Version:6.x-2.2-beta4
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed (cannot reproduce)

Issue Summary

Invalid argument supplied for foreach() in /home/xxx/sites/all/modules/contrib/legal/legal.module on line 535.

I think this just needs an is_array() check before the foreach() - this would prevent the error in cases where there are no extras.

Cheers,

Thomas

Comments

#1

Status:active» closed (cannot reproduce)

Can't replicate this, anyone else still having this issue please re-open this issue and provide steps to reproduce.