aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2015-01-28 21:37:03 +0530
committerAndreas Fischer <bantu@phpbb.com>2015-01-28 21:59:58 +0100
commit5eb0d422c8b3db8c4384b4b8a8b27c64441ec08e (patch)
treec9c1f2f7f63464ecffcac2b91b99921db3440f9b /phpBB
parent5ce89ae82f7be38ef539872dc1fd360fb45c906a (diff)
downloadforums-5eb0d422c8b3db8c4384b4b8a8b27c64441ec08e.tar
forums-5eb0d422c8b3db8c4384b4b8a8b27c64441ec08e.tar.gz
forums-5eb0d422c8b3db8c4384b4b8a8b27c64441ec08e.tar.bz2
forums-5eb0d422c8b3db8c4384b4b8a8b27c64441ec08e.tar.xz
forums-5eb0d422c8b3db8c4384b4b8a8b27c64441ec08e.zip
[ticket/12933] Handle case when * is last character of word
PHPBB3-12933
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/search/fulltext_native.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/search/fulltext_native.php b/phpBB/includes/search/fulltext_native.php
index 29c5a72874..948911bbfe 100644
--- a/phpBB/includes/search/fulltext_native.php
+++ b/phpBB/includes/search/fulltext_native.php
@@ -204,7 +204,7 @@ class fulltext_native extends search_backend
$this->search_query = $keywords;
$exact_words = array();
- preg_match_all('#([^\\s+\\-|*()]+)(?:$|[\\s+\\-|()])#u', $keywords, $exact_words);
+ preg_match_all('#([^\\s+\\-|()]+)(?:$|[\\s+\\-|()])#u', $keywords, $exact_words);
$exact_words = $exact_words[1];
$common_ids = $words = array();