Changeset 6496
- Timestamp:
- 11/08/2012 07:25:19 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-cache.php
r6342 r6496 103 103 // Get meta info 104 104 $id_list = join( ',', $object_ids ); 105 $meta_list = $wpdb->get_results( $wpdb->prepare( "SELECT $object_column, meta_key, meta_value FROM $meta_table WHERE $object_column IN ($id_list)"), ARRAY_A );105 $meta_list = $wpdb->get_results( $wpdb->prepare( "SELECT {$object_column}, meta_key, meta_value FROM {$meta_table} WHERE {$object_column} IN ($id_list)", $object_type ), ARRAY_A ); 106 106 107 107 if ( !empty( $meta_list ) ) {
Note: See TracChangeset
for help on using the changeset viewer.