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 89fa5b259..4d4b8138c 100644
--- a/inc/fulltext.php
+++ b/inc/fulltext.php
@@ -265,7 +265,7 @@ function ft_queryParser($query){
if(count($token)) $q['not'] = array_merge($q['not'],$token);
}else{
// asian "words" need to be searched as phrases
- if(preg_match_all('/('.IDX_ASIAN.'+)/u',$w,$matches)){
+ if(@preg_match_all('/('.IDX_ASIAN.'+)/u',$w,$matches)){
$q['phrases'] = array_merge($q['phrases'],$matches[1]);
}