Skip to:
Content
Toggle Menu
About
News
Codex
Develop
Make
Forums
Download
BuddyPress.org
Login
Search:
Timeline
View Tickets
Roadmap
Browse Source
Ticket Graph
Context Navigation
Back to Ticket #597
Ticket #597
: 597-patch.diff
File 597-patch.diff,
201 bytes
(added by
lancewillett
,
16 years ago
)
Line
1
- <?php bp_add_friend_button( $user->user_id ) ?>
2
+ <?php if ( function_exists('bp_add_friend_button') ) : ?>
3
+ <?php bp_add_friend_button( $user->user_id ) ?>
4
+ <?php endif; ?>
Trac UI Preferences
Download in other formats:
Original Format