Opened 14 years ago
Closed 14 years ago
#2695 closed defect (bug) (no action required)
bp_has_groups ignore user_id
Reported by: | laullon | Owned by: | |
---|---|---|---|
Milestone: | 1.2.7 | Priority: | normal |
Severity: | Version: | ||
Component: | Groups | 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;
Change History (2)
Note: See
TracTickets for help on using
tickets.
correction: