Changeset 5301 for trunk/bp-forums/bp-forums-functions.php
- Timestamp:
- 11/08/2011 01:14:31 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-functions.php
r5245 r5301 316 316 317 317 if ( !$user_id ) 318 $user_id = ( $bp->displayed_user->id ) ? $bp->displayed_user->id: $bp->loggedin_user->id;318 $user_id = ( bp_displayed_user_id() ) ? bp_displayed_user_id() : $bp->loggedin_user->id; 319 319 320 320 if ( class_exists( 'BB_Query' ) ) {
Note: See TracChangeset
for help on using the changeset viewer.