Opened 15 years ago
Closed 15 years ago
#3097 closed defect (bug) (fixed)
undefined class variable in groups
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 1.5 | Priority: | normal |
| Severity: | Version: | 1.2.8 | |
| Component: | Groups | Keywords: | |
| Cc: |
Description
file bp-groups-classes.php, class BP_Groups_Group
should define class var $mods (like $admins) because there are tests like "$group->mods" that returns nothing; ex. bp_group_list_mods
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [4168]) Declare missing class variable for BP_Groups_Group, fixing a possible PHP notice. Fixes #3097, props Ghost_ufa