Skip to:
Content

BuddyPress.org

Changeset 1298


Ignore:
Timestamp:
04/02/2009 10:43:42 AM (17 years ago)
Author:
apeatling
Message:

Fixes #610 props DJPaul for the detailed analysis.

File:
1 edited

Legend:

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

    r1294 r1298  
    977977        global $wpdb, $bp;
    978978       
     979        if ( !$bp->profile->table_name_fields || !$field_name )
     980            return false;
     981       
    979982        return $wpdb->get_var( $wpdb->prepare( "SELECT id FROM {$bp->profile->table_name_fields} WHERE name = %s", $field_name ) );
    980983    }
Note: See TracChangeset for help on using the changeset viewer.