Ticket #18401: 18401.patch
File 18401.patch, 539 bytes (added by , 12 years ago) |
---|
-
meta.php
724 515 $meta_value = $q['value']; 725 516 726 517 if ( in_array( $meta_compare, array( 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN' ) ) ) { 727 if ( ! is_array( $meta_value ) ) 518 if ( ! is_array( $meta_value ) ) { 728 519 $meta_value = preg_split( '/[,\s]+/', $meta_value ); 520 } else { 521 $meta_compare = 'IN'; 522 } 729 523 730 524 if ( empty( $meta_value ) ) { 731 525 unset( $join[$i] );