diff options
author | Andreas Gohr <andi@splitbrain.org> | 2006-02-17 23:20:40 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2006-02-17 23:20:40 +0100 |
commit | 98c868589ee0757f176239cf289cbd007bb74852 (patch) | |
tree | eb48a172b0f1a423b93ffff35f8adf8d579383c1 /inc/fulltext.php | |
parent | 1c73890c5027011d808d38c583561abc309e8086 (diff) | |
download | rpg-98c868589ee0757f176239cf289cbd007bb74852.tar.gz rpg-98c868589ee0757f176239cf289cbd007bb74852.tar.bz2 |
file cleanups
This patch cleans up the source code to satisfy the coding guidelines (see
http://wiki.splitbrain.org/wiki:development#coding_style)
It converts files to UNIX lineendings and removes tabs and trailing
whitespace. Not all files were cleaned yet.
darcs-hash:20060217222040-7ad00-bba3d2bee3b5aa7cbb5184258abd50805cd071bf.gz
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]; |