diff options
author | Andreas Gohr <andi@splitbrain.org> | 2008-03-31 19:53:53 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2008-03-31 19:53:53 +0200 |
commit | 6531ab0371622c4da437267aca812ff9297aaf4d (patch) | |
tree | 324f3f1bf247ab9a73383e7f0209f07eb7296d53 | |
parent | c52ffa6fda8ebf01b1050118330f815d521c1abd (diff) | |
download | rpg-6531ab0371622c4da437267aca812ff9297aaf4d.tar.gz rpg-6531ab0371622c4da437267aca812ff9297aaf4d.tar.bz2 |
fixed search engine referrer highlighting
darcs-hash:20080331175353-7ad00-85da7f10269ead76b0f081aa1668cc27840c3b2e.gz
-rw-r--r-- | inc/common.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/common.php b/inc/common.php index 885fb85d4..189edb61b 100644 --- a/inc/common.php +++ b/inc/common.php @@ -1002,7 +1002,7 @@ function getGoogleQuery(){ $q = urldecode(ltrim($url['path'],'/')); if(!$q) return ''; - $q = join('|',preg_split('/[\s\'"\\\\`()\]\[?:!\.{};,#+*<>\\/]+/',$q,-1,PREG_SPLIT_NO_EMPTY)); + $q = preg_split('/[\s\'"\\\\`()\]\[?:!\.{};,#+*<>\\/]+/',$q,-1,PREG_SPLIT_NO_EMPTY); return $q; } |