Ticket #1024: 1024.001.diff
File 1024.001.diff, 491 bytes (added by , 14 years ago) |
---|
-
bp-xprofile/bp-xprofile-functions.php
221 221 if ( !empty( $option_order ) ) 222 222 $field->option_order = $option_order; 223 223 224 if ( !$field ->save() )224 if ( !$field_id = $field->save() ) 225 225 return false; 226 226 227 return true;227 return $field_id; 228 228 } 229 229 230 230 function xprofile_get_field( $field_id ) {