mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Search/Fixup
* fix pruning empty tokens from search
This commit is contained in:
@@ -108,7 +108,7 @@ class Search
|
|||||||
{
|
{
|
||||||
$clean = str_replace(['\\', '%'], '', $raw);
|
$clean = str_replace(['\\', '%'], '', $raw);
|
||||||
|
|
||||||
if (!$clean === '')
|
if ($clean === '')
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if ($clean[0] == '-')
|
if ($clean[0] == '-')
|
||||||
|
|||||||
Reference in New Issue
Block a user