Changeset 3560 for trunk/bp-xprofile/bp-xprofile-templatetags.php
- Timestamp:
- 12/22/2010 01:48:36 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-templatetags.php
r3499 r3560 102 102 $field = &$this->group->fields[$i]; 103 103 104 if ( $field->data->value != null ) {104 if ( !empty( $field->data ) && $field->data->value != null ) { 105 105 $has_data = true; 106 106 } … … 441 441 $option_values = maybe_unserialize($option_values); 442 442 443 $html = ''; 443 444 for ( $k = 0; $k < count($options); $k++ ) { 445 $selected = ''; 444 446 for ( $j = 0; $j < count($option_values); $j++ ) { 445 447 if ( $option_values[$j] == $options[$k]->name || @in_array( $options[$k]->name, $value ) || $options[$k]->is_default_option ) {
Note: See TracChangeset
for help on using the changeset viewer.