fixes #2146 trim search by words before anything else

This commit is contained in:
plegall
2024-04-12 09:50:17 +02:00
parent 0a6f235db8
commit 16953317d9

View File

@@ -1705,6 +1705,8 @@ function split_allwords($raw_allwords)
{
$words = null;
$raw_allwords = trim($raw_allwords);
if (!preg_match('/^\s*$/', $raw_allwords))
{
$drop_char_match = array(';','&','(',')','<','>','`','\'','"','|',',','@','?','%','.','[',']','{','}',':','\\','/','=','\'','!','*');