Opened 15 years ago
Closed 15 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: | |
---|---|---|---|
Milestone: | 1.2 | Priority: | major |
Severity: | Version: | ||
Component: | 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.
Fixed in trunk.