Skip to:
Content

BuddyPress.org

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; ?>