Watchdog foreach error during user insert
tom_o_t - May 6, 2009 - 15:16
| Project: | Legal |
| Version: | 6.x-2.2-beta4 |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | active |
Description
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
