mirror of
https://github.com/YGGverse/YGGstate.git
synced 2025-02-04 10:54:12 +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 {
|
private static function _match(string $keyword) : string {
|
||||||
|
|
||||||
|
$keyword = trim($keyword);
|
||||||
$keyword = preg_replace('/[\:]+/', ':', $keyword);
|
$keyword = preg_replace('/[\:]+/', ':', $keyword);
|
||||||
|
|
||||||
return sprintf(
|
return sprintf(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user