aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/search/fulltext_sphinx.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/phpBB/includes/search/fulltext_sphinx.php b/phpBB/includes/search/fulltext_sphinx.php
index 53bff898eb..4c0adcd99e 100644
--- a/phpBB/includes/search/fulltext_sphinx.php
+++ b/phpBB/includes/search/fulltext_sphinx.php
@@ -395,14 +395,7 @@ class phpbb_search_fulltext_sphinx
$this->sphinx->SetMatchMode(SPH_MATCH_ANY);
}
- $match = array();
- // Keep quotes
- $match[] = "#"#";
- // KeepNew lines
- $match[] = "#[\n]+#";
-
- $replace = array('"', " ");
-
+ // Keep quotes and new lines
$keywords = str_replace(array('"', "\n"), array('"', ' '), trim($keywords));
if (strlen($keywords) > 0)