Changeset 2584
- Timestamp:
- 02/04/2010 12:20:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-classes.php
r2576 r2584 115 115 116 116 /* Fetch the fields */ 117 $fields = $wpdb->get_results( $wpdb->prepare( "SELECT id, name, type, group_id FROM {$bp->profile->table_name_fields} WHERE group_id IN ( {$group_ids} ) AND parent_id = 0 ORDER BY field_order" ) );117 $fields = $wpdb->get_results( $wpdb->prepare( "SELECT id, name, type, group_id, is_required FROM {$bp->profile->table_name_fields} WHERE group_id IN ( {$group_ids} ) AND parent_id = 0 ORDER BY field_order" ) ); 118 118 119 119 if ( empty( $fields ) )
Note: See TracChangeset
for help on using the changeset viewer.