summaryrefslogtreecommitdiff
path: root/inc/fulltext.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/fulltext.php')
-rw-r--r--inc/fulltext.php2
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);
}