Changeset 2834
- Timestamp:
- 03/12/2010 11:36:05 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-core/bp-core-templatetags.php
r2832 r2834 311 311 // Populate the user if it hasn't been already. 312 312 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 ); 314 314 315 315 $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.