diff options
author | Dhruv <dhruv.goel92@gmail.com> | 2015-01-28 21:37:03 +0530 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2015-01-28 21:59:58 +0100 |
commit | 5eb0d422c8b3db8c4384b4b8a8b27c64441ec08e (patch) | |
tree | c9c1f2f7f63464ecffcac2b91b99921db3440f9b | |
parent | 5ce89ae82f7be38ef539872dc1fd360fb45c906a (diff) | |
download | forums-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
-rw-r--r-- | phpBB/includes/search/fulltext_native.php | 2 |
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(); |