Skip to:
Content

BuddyPress.org

Changeset 2584


Ignore:
Timestamp:
02/04/2010 12:20:22 PM (14 years ago)
Author:
apeatling
Message:

Fixes #1799

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-classes.php

    r2576 r2584  
    115115
    116116        /* 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" ) );
    118118
    119119        if ( empty( $fields ) )
Note: See TracChangeset for help on using the changeset viewer.