Skip to:
Content

BuddyPress.org

Changeset 2834


Ignore:
Timestamp:
03/12/2010 11:36:05 AM (14 years ago)
Author:
apeatling
Message:

Fixes #2171

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-core/bp-core-templatetags.php

    r2832 r2834  
    311311        // Populate the user if it hasn't been already.
    312312        if ( empty( $members_template->member->profile_data ) )
    313             $members_template->member = new BP_Core_User( $members_template->member->id );
     313            $members_template->member->profile_data = BP_XProfile_ProfileData::get_all_for_user( $members_template->member->id );
    314314
    315315        $data = xprofile_format_profile_field( $members_template->member->profile_data[$field]['field_type'], $members_template->member->profile_data[$field]['field_data'] );
Note: See TracChangeset for help on using the changeset viewer.