mirror of
https://github.com/YGGverse/YGGstate.git
synced 2025-01-26 06:24:22 +00:00
trim request spaces
This commit is contained in:
parent
7edb88a67a
commit
186f204448
@ -49,6 +49,7 @@ class SphinxQL {
|
||||
|
||||
private static function _match(string $keyword) : string {
|
||||
|
||||
$keyword = trim($keyword);
|
||||
$keyword = preg_replace('/[\:]+/', ':', $keyword);
|
||||
|
||||
return sprintf(
|
||||
|
Loading…
x
Reference in New Issue
Block a user