Changeset 8476
- Timestamp:
- 06/04/2014 06:24:12 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-classes.php
r8397 r8476 897 897 898 898 $meta_query_where_clauses = explode( "\n", $meta_sql['where'] ); 899 900 // Trim empties 901 $meta_query_where_clauses = array_values( array_filter( $meta_query_where_clauses ) ); 902 899 903 foreach( $matches_b[1] as $key => $group_id_clause ) { 900 904 $sql_array['where'] .= ' ' . preg_replace( '/^(AND\s+[\(\s]+)/', '$1' . $group_id_clause . ' AND ', ltrim( $meta_query_where_clauses[ $key ] ) );
Note: See TracChangeset
for help on using the changeset viewer.