Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/28/2009 07:05:23 PM (17 years ago)
Author:
apeatling
Message:

Fixing bug with inconsistent name display.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-classes.php

    r1661 r1723  
    697697        if ( !$user_id )
    698698            $user_id = $bp->displayed_user->id;
     699           
     700        if ( !$bp->profile )
     701            xprofile_setup_globals();
    699702
    700703        $sql = $wpdb->prepare("SELECT * FROM {$bp->profile->table_name_data} WHERE field_id = %d AND user_id = %d", $field_id, $user_id );
Note: See TracChangeset for help on using the changeset viewer.