Changeset 1385 for trunk/bb-includes/class-bb-taxonomy.php
- Timestamp:
- 03/30/2008 10:31:06 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/bb-includes/class-bb-taxonomy.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bb-includes/class-bb-taxonomy.php
r1076 r1385 170 170 $select_this = 't.*, tt.*, tr.object_id'; 171 171 172 $query = "SELECT $select_this FROM {$this->db->terms} AS t INNER JOIN {$this->db->term_taxonomy} AS tt ON tt.term_id = t.term_id INNER JOIN {$this->db->term_relationships} AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ($taxonomies) AND tr.object_id IN ($object_ids)$us r_sql ORDER BY $orderby $order";172 $query = "SELECT $select_this FROM {$this->db->terms} AS t INNER JOIN {$this->db->term_taxonomy} AS tt ON tt.term_id = t.term_id INNER JOIN {$this->db->term_relationships} AS tr ON tr.term_taxonomy_id = tt.term_taxonomy_id WHERE tt.taxonomy IN ($taxonomies) AND tr.object_id IN ($object_ids)$user_sql ORDER BY $orderby $order"; 173 173 174 174 if ( 'all' == $fields || 'all_with_object_id' == $fields ) {
Note: See TracChangeset
for help on using the changeset viewer.