#597 closed defect (bug) (fixed)
Error loading "bp_add_friend_button" when "bp-friends" isn't installed
| Reported by: | lancewillett | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Version: | 1.0 | |
| Severity: | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Fixed, thanks for patch.