diff --git bp-members/bp-members-signup.php bp-members/bp-members-signup.php
index 1b549e7..4b7f8e0 100644
|
|
function bp_core_screen_signup() { |
75 | 75 | // Loop through the posted fields formatting any datebox values then validate the field |
76 | 76 | foreach ( (array) $profile_field_ids as $field_id ) { |
77 | 77 | if ( !isset( $_POST['field_' . $field_id] ) ) { |
78 | | if ( isset( $_POST['field_' . $field_id . '_day'] ) ) |
| 78 | if ( !empty( $_POST['field_' . $field_id . '_day'] ) && !empty( $_POST['field_' . $field_id . '_month'] ) && !empty( $_POST['field_' . $field_id . '_year'] ) ) |
79 | 79 | $_POST['field_' . $field_id] = date( 'Y-m-d H:i:s', strtotime( $_POST['field_' . $field_id . '_day'] . $_POST['field_' . $field_id . '_month'] . $_POST['field_' . $field_id . '_year'] ) ); |
80 | 80 | } |
81 | 81 | |