mirror of
https://github.com/YGGverse/YGGo.git
synced 2025-03-11 21:01:05 +00:00
fix replacement typo #9
This commit is contained in:
parent
d40b914983
commit
84fd82f294
@ -57,7 +57,7 @@ class Filter {
|
||||
|
||||
static public function sphinxSearchQuery(string $query) {
|
||||
|
||||
$query = str_replace(['\\', '/', '~', '@', '!', '"', '(', ')'], ['\\\'', '\/', '\~', '\@', '\!', '\"', '\(', '\)'], $query);
|
||||
$query = str_replace(['\\', '/', '~', '@', '!', '"', '(', ')'], ['\\\\', '\/', '\~', '\@', '\!', '\"', '\(', '\)'], $query);
|
||||
|
||||
$query = trim($query);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user