Ticket #3572: 3572.02.diff
| File 3572.02.diff, 778 bytes (added by , 15 years ago) |
|---|
-
bp-xprofile/bp-xprofile-classes.php
Class BP_XProfile_Group { 174 174 175 175 // Loop through the results and find the fields that have data. 176 176 foreach( (array)$field_data as $data ) { 177 if ( false !== $key = array_search( $data->field_id, $field_ids ) ) { 177 // Empty fields may contain a serialized empty array 178 $maybe_value = maybe_unserialize( $data->value ); 179 if ( !empty( $maybe_value ) && false !== $key = array_search( $data->field_id, $field_ids ) ) { 178 180 // Fields that have data get removed from the list 179 181 unset( $field_ids[$key] ); 180 182 }
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)