Opened 17 years ago
Closed 17 years ago
#1719 closed defect (bug) (fixed)
Functions related to friends output broke template output when Friends' module is disabled
| Reported by: | foralien | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.2 |
| Component: | Version: | ||
| Severity: | Keywords: | friends, disabled, template | |
| Cc: |
Description
The function bp_get_total_friend_count() spreaded over template's files of new default theme (BP 1.2-beta), ex. in activity/index, to check if a user has friends leads to "call undefined function" when friend's module is disabled...
Need if-function-exists check or something like this.
Related Forum topic
http://buddypress.org/forums/topic/problem-with-friend-related-functions-when-friends-module-disabled
P.S. Sorry, if something wrong with this ticket - I'm quite new to trac and to bug reporting in general.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Fixed in trunk.