diff options
-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; } |