Changeset 3233
- Timestamp:
- 09/07/2010 12:59:40 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-core/bp-core-catchuri.php
r3219 r3233 116 116 // We are within a member page, set up user id globals 117 117 if ( defined( 'BP_ENABLE_USERNAME_COMPATIBILITY_MODE' ) ) 118 $displayed_user_id = bp_core_get_userid( $bp_uri[1]);118 $displayed_user_id = bp_core_get_userid( urldecode( $bp_uri[1] ) ); 119 119 else 120 $displayed_user_id = bp_core_get_userid_from_nicename( $bp_uri[1]);121 122 unset( $bp_uri[0]);123 unset( $bp_uri[1]);120 $displayed_user_id = bp_core_get_userid_from_nicename( urldecode( $bp_uri[1] ) ); 121 122 unset( $bp_uri[0] ); 123 unset( $bp_uri[1] ); 124 124 125 125 // Reset the keys by merging with an empty array … … 133 133 // We are within a member page, set up user id globals 134 134 if ( defined( 'BP_ENABLE_USERNAME_COMPATIBILITY_MODE' ) ) 135 $displayed_user_id = bp_core_get_userid( $bp_uri[0]);135 $displayed_user_id = bp_core_get_userid( urldecode( $bp_uri[0] ) ); 136 136 else 137 $displayed_user_id = bp_core_get_userid_from_nicename( $bp_uri[0]);138 139 unset( $bp_uri[0]);137 $displayed_user_id = bp_core_get_userid_from_nicename( urldecode( $bp_uri[0] ) ); 138 139 unset( $bp_uri[0] ); 140 140 141 141 // Reset the keys by merging with an empty array
Note: See TracChangeset
for help on using the changeset viewer.