diff options
Diffstat (limited to 'inc/fulltext.php')
-rw-r--r-- | inc/fulltext.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/fulltext.php b/inc/fulltext.php index 34520f0c5..fd974c949 100644 --- a/inc/fulltext.php +++ b/inc/fulltext.php @@ -159,7 +159,7 @@ function ft_pageLookup($id,$pageonly=true){ if(!preg_match('/'.$id.'/',noNS($pages[$i]))){ unset($pages[$i]); continue; - } + } } if(!@file_exists(wikiFN($pages[$i]))){ unset($pages[$i]); @@ -257,7 +257,7 @@ function ft_queryParser($query){ $q['phrases'] = array(); $q['and'] = array(); $q['not'] = array(); - + // handle phrase searches while(preg_match('/"(.*?)"/',$query,$match)){ $q['phrases'][] = $match[1]; |