Opened 3 years ago
Closed 3 years ago
#2265 closed Defect (fixed)
apache warning in users.php line 757
| Reported by: | coldtrick | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Elgg 1.8.0 |
| Component: | Core | Version: | 1.7 |
| Severity: | minor | Keywords: | |
| Cc: | brettp | Difficulty: |
Description
in the function user_remove_friend
if the user has no access collections an apache warning is triggered with invalid argument for foreach on line 757
should check if $collections is an array (and not empty)
Change History (1)
comment:1 Changed 3 years ago by cash
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

(In [svn:6364]) Fixes #2265 - checking if user has any collections before updating them