#597 closed defect (bug) (fixed)
Error loading "bp_add_friend_button" when "bp-friends" isn't installed
| Reported by: |
|
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)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Fixed, thanks for patch.