Actions
Bug #3252
closedUserlist with no users possible can cause fatal error
Description
Warning: Invalid argument supplied for foreach() in administrator/components/com_comprofiler/library/cb/cb.lists.php on line 319
The above error is for CB 1.7.1, but issue is still present in CB 1.8 on line 353. The foreach has no IF to check $users so you can end up with null or '' trying to foreach.
https://www.joomlapolis.com/forum/154-advanced-members-support/190321-configuring-cb-users
Patch adds IF check to foreach loop to prevent null values from trying to loop.
Files
Updated by beat almost 13 years ago
- Status changed from Resolved to Closed
- Estimated time set to 0:30 h
r1748 fixes the cause of this bug, instead of the symptom that the patch was fixing.
Actions