diff --git a/include/functions_search.inc.php b/include/functions_search.inc.php index b7ea5b4de..43efbe163 100644 --- a/include/functions_search.inc.php +++ b/include/functions_search.inc.php @@ -1709,8 +1709,8 @@ function split_allwords($raw_allwords) if (!preg_match('/^\s*$/', $raw_allwords)) { - $drop_char_match = array('-','^','$',';','#','&','(',')','<','>','`','\'','"','|',',','@','_','?','%','~','.','[',']','{','}',':','\\','/','=','\'','!','*'); - $drop_char_replace = array(' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','', '', ' ',' ',' ',' ','', ' ',' ',' ',' ',' ',' ',' ',' ',' ','' , ' ',' ',' ', ' ',' '); + $drop_char_match = array('^','$',';','#','&','(',')','<','>','`','\'','"','|',',','@','?','%','~','.','[',']','{','}',':','\\','/','=','\'','!','*'); + $drop_char_replace = array(' ',' ',' ',' ',' ',' ',' ',' ',' ','', '', ' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ',' ','' , ' ',' ',' ', ' ',' '); // Split words $words = array_unique(