fix replacement typo #9

This commit is contained in:
ghost 2023-05-01 19:03:14 +03:00
parent d40b914983
commit 84fd82f294

View File

@ -57,7 +57,7 @@ class Filter {
static public function sphinxSearchQuery(string $query) { static public function sphinxSearchQuery(string $query) {
$query = str_replace(['\\', '/', '~', '@', '!', '"', '(', ')'], ['\\\'', '\/', '\~', '\@', '\!', '\"', '\(', '\)'], $query); $query = str_replace(['\\', '/', '~', '@', '!', '"', '(', ')'], ['\\\\', '\/', '\~', '\@', '\!', '\"', '\(', '\)'], $query);
$query = trim($query); $query = trim($query);