Skip to:

Opened 15 years ago

Closed 15 years ago

#324 closed defect (bug) (fixed)

groups_get_all() returns empty array

Reported by: burtadsit's profile burtadsit Owned by:
Milestone: Priority: minor
Severity: Version:
Component: Keywords:


The fn groups_get_all() in bp-groups.php always returns an empty array when called with default params. BP_Groups_Group::get_all() has sql problems.

Change History (3)

#1 @burtadsit
15 years ago

A clarification: bp doesn't use groups_get_all(). It does use BP_Groups_Group::get_all() though. I haven't tested this with paging but if called with BP_Groups_Group::get_all(false,false) it returns nothing.

#2 @apeatling
15 years ago

groups_get_all() is a wrapper function and should be used to prevent accessing DB access class methods directly.

#3 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed the groups_get_all function as it was missing new parameters.

Note: See TracTickets for help on using tickets.