Changeset 5729 for trunk/bp-xprofile/bp-xprofile-screens.php
- Timestamp:
- 02/11/2012 09:32:04 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-screens.php
r5704 r5729 72 72 // Loop through the posted fields formatting any datebox values 73 73 // then validate the field 74 foreach ( (array) $posted_field_ids as $field_id ) {74 foreach ( (array) $posted_field_ids as $field_id ) { 75 75 if ( !isset( $_POST['field_' . $field_id] ) ) { 76 76 … … 102 102 103 103 // Now we've checked for required fields, lets save the values. 104 foreach ( (array) $posted_field_ids as $field_id ) {104 foreach ( (array) $posted_field_ids as $field_id ) { 105 105 106 106 // Certain types of fields (checkboxes, multiselects) may come through empty. Save them as an empty array so that they don't get overwritten by the default on the next edit.
Note: See TracChangeset
for help on using the changeset viewer.