Skip to:

Opened 14 years ago

Closed 14 years ago

#2430 closed defect (bug) (fixed)

xprofile_setup_nav is greedy

Reported by: djpaul's profile DJPaul Owned by:
Milestone: 1.2.5 Priority: normal
Severity: Version:
Component: Groups Keywords: has-patch


xprofile_setup_nav() is greedy. If, in a custom component, $bp->current_action matches one of your items, and the slug shares a name with that of a Group, you get an extra database query as it retrieves the Group details. It also adds the Groups' "Admin Options" to the buddybar.

Patch included, against the 1.2 branch.

Attachments (1)

2430.patch (491 bytes) - added by DJPaul 14 years ago.

Download all attachments as: .zip

Change History (3)

14 years ago

#1 @DJPaul
14 years ago

  • Keywords has-patch added

#2 @johnjamesjacoby
14 years ago

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

(In [3029]) Fixes #2430 props paulgibbs

Note: See TracTickets for help on using tickets.