Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/17/2010 06:07:07 PM (14 years ago)
Author:
johnjamesjacoby
Message:

Clean up HTML in xprofile admin area. Add maybe_unserialize to get_value_byid. Fixes #2637.

File:
1 edited

Legend:

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

    r3260 r3270  
    377377
    378378                for ( $k = 0; $k < count($options); $k++ ) {
    379                     $option_values = maybe_unserialize( BP_XProfile_ProfileData::get_value_byid( $options[$k]->parent_id ) );
     379                    $option_values = BP_XProfile_ProfileData::get_value_byid( $options[$k]->parent_id );
    380380                    $option_values = (array)$option_values;
    381381
Note: See TracChangeset for help on using the changeset viewer.