diff options
-rw-r--r-- | inc/fulltext.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/fulltext.php b/inc/fulltext.php index 7cb1153fb..f7a9320c9 100644 --- a/inc/fulltext.php +++ b/inc/fulltext.php @@ -324,7 +324,7 @@ function ft_queryParser($query){ // handle phrase searches while(preg_match('/"(.*?)"/',$query,$match)){ $q['phrases'][] = $match[1]; - $q['and'] = array_merge(idx_tokenizer($match[0],$stopwords)); + $q['and'] = array_merge($q['and'], idx_tokenizer($match[0],$stopwords)); $query = preg_replace('/"(.*?)"/','',$query,1); } |