Ticket #7202: 7202.01.patch
File 7202.01.patch, 787 bytes (added by , 8 years ago) |
---|
-
src/bp-xprofile/classes/class-bp-xprofile-query.php
515 515 $compatible_compares = array( '=', 'IN', 'BETWEEN', 'LIKE', 'REGEXP', 'RLIKE', '>', '>=', '<', '<=' ); 516 516 517 517 // Clauses joined by AND with "negative" operators share a join only if they also share a key. 518 } elseif ( isset( $sibling['field _id'] ) && isset( $clause['field_id'] ) && $sibling['field_id'] === $clause['field_id'] ) {518 } elseif ( isset( $sibling['field'] ) && isset( $clause['field'] ) && $sibling['field'] === $clause['field'] ) { 519 519 $compatible_compares = array( '!=', 'NOT IN', 'NOT LIKE' ); 520 520 } 521 521