Opened 9 years ago
Closed 9 years ago
#6975 closed defect (bug) (fixed)
Group admin: "No group found with this ID" block cannot be reached
Reported by: | boonebgorges | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 2.6 | Priority: | normal |
Severity: | normal | Version: | 1.9 |
Component: | Groups | Keywords: | |
Cc: |
Description
The logic looks like this:
$group = groups_get_group( 'group_id=' . (int) $_GET['gid'] ); if ( ! empty( $group ) ) { } else { }
But groups_get_group()
never returns empty. It always returns a group object.
Change History (1)
Note: See
TracTickets for help on using
tickets.
In 10672: