Index: trunk/extensions/CleanChanges/Filters.php |
— | — | @@ -43,7 +43,7 @@ |
44 | 44 | if ( $trailer === null ) return true; |
45 | 45 | |
46 | 46 | $dbr = wfGetDB( DB_SLAVE ); |
47 | | - $conds[] = 'rc_title LIKE \'%%' . $dbr->escapeLike( $trailer ) . '\''; |
| 47 | + $conds[] = 'rc_title ' . $dbr->buildLike( $dbr->anyString(), $trailer ); |
48 | 48 | $opts->setValue( 'trailer', $trailer ); |
49 | 49 | |
50 | 50 | return true; |