Ticket #5657: bp-xprofile-admin-5657.diff
File bp-xprofile-admin-5657.diff, 637 bytes (added by , 11 years ago) |
---|
-
src/bp-xprofile/bp-xprofile-admin.php
36 36 37 37 $type = preg_replace( '|[^a-z]|i', '', $type ); 38 38 39 $groups = BP_XProfile_Group::get( array(39 $groups = bp_xprofile_get_groups( array( 40 40 'fetch_fields' => true 41 41 ) ); 42 42 … … 287 287 288 288 do_action( 'xprofile_fields_saved_field', $field ); 289 289 290 $groups = BP_XProfile_Group::get();290 $groups = bp_xprofile_get_groups(); 291 291 xprofile_admin( $message, $type ); 292 292 } 293 293 } else {