Changeset 3484 for branches/1.2/bp-friends/bp-friends-templatetags.php
- Timestamp:
- 11/24/2010 06:57:17 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-friends/bp-friends-templatetags.php
r3260 r3484 346 346 $user_id = $bp->loggedin_user->id; 347 347 348 return apply_filters( 'bp_friend_get_total_requests_count', (int) BP_Friends_Friendship::get_friend_user_ids( $user_id, true) );348 return apply_filters( 'bp_friend_get_total_requests_count', count( BP_Friends_Friendship::get_friend_user_ids( $user_id, true ) ) ); 349 349 } 350 350 ?>
Note: See TracChangeset
for help on using the changeset viewer.