Skip to:
Content

BuddyPress.org

Ticket #5657: bp-xprofile-admin-5657.diff

File bp-xprofile-admin-5657.diff, 637 bytes (added by tw2113, 11 years ago)
  • src/bp-xprofile/bp-xprofile-admin.php

     
    3636
    3737        $type = preg_replace( '|[^a-z]|i', '', $type );
    3838
    39         $groups = BP_XProfile_Group::get( array(
     39        $groups = bp_xprofile_get_groups( array(
    4040                'fetch_fields' => true
    4141        ) );
    4242
     
    287287
    288288                                do_action( 'xprofile_fields_saved_field', $field );
    289289
    290                                 $groups = BP_XProfile_Group::get();
     290                                $groups = bp_xprofile_get_groups();
    291291                                xprofile_admin( $message, $type );
    292292                        }
    293293                } else {