Changeset 6575 for branches/1.6/bp-forums/bp-forums-filters.php
- Timestamp:
- 12/10/2012 06:07:53 AM (13 years ago)
- File:
-
- 1 edited
-
branches/1.6/bp-forums/bp-forums-filters.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.6/bp-forums/bp-forums-filters.php
r6557 r6575 156 156 */ 157 157 function bp_forums_add_replied_distinct_sql( $sql ) { 158 global $wpdb;159 160 158 $sql = "DISTINCT t.topic_id, "; 161 159 … … 177 175 */ 178 176 function bp_forums_add_replied_join_sql( $sql ) { 179 global $bbdb , $wpdb;177 global $bbdb; 180 178 181 179 $sql .= " LEFT JOIN $bbdb->posts p ON p.topic_id = t.topic_id ";
Note: See TracChangeset
for help on using the changeset viewer.