Actions
Bug #3675
closedUserlists filtered to empty causes a warning
Description
When there are no users present in a userlist after filtering it down to nothing the below warning is thrown.
Warning: Invalid argument supplied for foreach() in administrator/components/com_comprofiler/library/cb/cb.lists.php on line 347
This is due to the query returning no results, but a foreach is still attempted on it. This should have an IF check before trying to parse results.
Files
Updated by beat about 12 years ago
- Status changed from Resolved to Closed
- Estimated time set to 1:00 h
Fixed as suggested in r1875 .
Thank you Kyle.
Actions