Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/07/2010 01:11:57 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Fixes #2618 (trunk) props mdawaffe

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-catchuri.php

    r2919 r3234  
    140140        if ( !empty( $bp_uri[$uri_offset + 1] ) ) {
    141141            if ( defined( 'BP_ENABLE_USERNAME_COMPATIBILITY_MODE' ) )
    142                 $displayed_user_id = (int) bp_core_get_userid( $bp_uri[$uri_offset + 1] );
     142                $displayed_user_id = (int) bp_core_get_userid( urldecode( $bp_uri[$uri_offset + 1] ) );
    143143            else
    144                 $displayed_user_id = (int) bp_core_get_userid_from_nicename( $bp_uri[$uri_offset + 1] );
     144                $displayed_user_id = (int) bp_core_get_userid_from_nicename( urldecode( $bp_uri[$uri_offset + 1] ) );
    145145
    146146            $uri_offset = $uri_offset + 2;
Note: See TracChangeset for help on using the changeset viewer.