Opened 16 years ago
Closed 16 years ago
#2695 closed defect (bug) (no action required)
bp_has_groups ignore user_id
| Reported by: | laullon | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.2.7 |
| Component: | Groups | Version: | |
| Severity: | Keywords: | bp_has_groups user_id | |
| Cc: |
Description
The method bp_has_groups ignore the argument user_id.
Line 142:
/* User filtering */ if ( !empty( $bp->displayed_user->id ) ) $user_id = $bp->displayed_user->id;
Must be:
/* User filtering */ if ( !empty( $user_id ) ) $user_id = $bp->displayed_user->id;
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
correction: