Skip to:
Content

BuddyPress.org

Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#597 closed defect (bug) (fixed)

Error loading "bp_add_friend_button" when "bp-friends" isn't installed

Reported by: lancewillett's profile lancewillett Owned by:
Milestone: Priority: minor
Severity: Version: 1.0
Component: Keywords: friends, core, ajax
Cc: lance@…

Description

When using the member list A-Z links I noticed that the results list didn't finish loading due to a function call in bp-core/bp-core-ajax.php (line 120).

The reason the function failed is that the bp-friends plugin is not installed and so the function can't be found.

The easiest fix is to wrap the function call in a function_exists check: see the attached patch.

Attachments (1)

597-patch.diff (201 bytes) - added by lancewillett 16 years ago.

Download all attachments as: .zip

Change History (3)

#1 @apeatling
16 years ago

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

Fixed, thanks for patch.

#2 @(none)
15 years ago

  • Milestone Core 1.0 deleted

Milestone Core 1.0 deleted

Note: See TracTickets for help on using tickets.