Skip to:
Content

BuddyPress.org

Ticket #3446: fix_xprofile_fullname_field.patch

File fix_xprofile_fullname_field.patch, 553 bytes (added by slaFFik, 14 years ago)
  • bp-xprofile/bp-xprofile-admin.php

     
    290290                        } else {
    291291                                $message = __( 'The field was saved successfully.', 'buddypress' );
    292292                                $type = 'success';
    293 
     293                               
     294                                if($field_id == 1)
     295                                        bp_update_option( 'bp-xprofile-fullname-field-name', $field->name );
     296                               
    294297                                unset( $_GET['mode'] );
    295298
    296299                                do_action( 'xprofile_fields_saved_field', $field );