#388 closed defect (bug) (no action required)
groups_is_user_admin doesn't work on pages under /groups/group-name
Reported by: | nicolagreco | Owned by: | nicolagreco |
---|---|---|---|
Milestone: | Priority: | critical | |
Severity: | Version: | ||
Component: | Keywords: | ||
Cc: | nicolagreco |
Description
the function groups_is_user_admin works only if it's on groups page, it i add a subnav (aka a new page) undet /groups/group-name like /groups/group-name/my-page and i put
global $bp, $group_obj; groups_is_user_admin( $bp['logged_userid'], $group_obj->id)
Nicola Greco,
BPDEV
it doesn't work
Change History (2)
Note: See
TracTickets for help on using
tickets.
it works sorry, my own error