Opened 11 years ago
Closed 11 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 |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.6 |
| Component: | Groups | Version: | 1.9 |
| Severity: | normal | 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.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 10672: