Changeset 5729 for trunk/bp-xprofile/bp-xprofile-classes.php
- Timestamp:
- 02/11/2012 09:32:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-classes.php
r5699 r5729 144 144 // Get the group ids 145 145 $group_ids = array(); 146 foreach( (array) $groups as $group ) {146 foreach( (array) $groups as $group ) { 147 147 $group_ids[] = $group->id; 148 148 } … … 179 179 180 180 // Loop through the results and find the fields that have data. 181 foreach( (array) $field_data as $data ) {181 foreach( (array) $field_data as $data ) { 182 182 183 183 // Empty fields may contain a serialized empty array … … 205 205 206 206 // Loop through fields 207 foreach( (array) $fields as $field_key => $field ) {207 foreach( (array) $fields as $field_key => $field ) { 208 208 209 209 // Loop throught the data in each field 210 foreach( (array) $field_data as $data ) {210 foreach( (array) $field_data as $data ) { 211 211 212 212 // Assign correct data value to the field … … 490 490 $counter = 1; 491 491 if ( !empty( $options ) ) { 492 foreach ( (array) $options as $option_key => $option_value ) {492 foreach ( (array) $options as $option_key => $option_value ) { 493 493 $is_default = 0; 494 494
Note: See TracChangeset
for help on using the changeset viewer.