Changeset 1230 for trunk/bp-xprofile/bp-xprofile-classes.php
- Timestamp:
- 03/18/2009 10:32:07 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/bp-xprofile/bp-xprofile-classes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-classes.php
r1224 r1230 966 966 return false; 967 967 } 968 969 function get_id_from_name( $field_name ) { 970 global $wpdb, $bp; 971 972 return $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->profile->table_name_fields} WHERE name = %s", $field_name ) ); 973 } 968 974 } 969 975
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)