diff options
author | Dhruv <dhruv.goel92@gmail.com> | 2015-01-28 21:37:03 +0530 |
---|---|---|
committer | Dhruv <dhruv.goel92@gmail.com> | 2015-01-28 21:37:03 +0530 |
commit | be90e9745242dbfa26aa7ebfbe41c80114a4baad (patch) | |
tree | 0c5c9b3e9c5b5f606a1bba901341c67a894325ae /phpBB/includes | |
parent | ebd5aace3fd556d6b588b07329a7eed37997045b (diff) | |
download | forums-be90e9745242dbfa26aa7ebfbe41c80114a4baad.tar forums-be90e9745242dbfa26aa7ebfbe41c80114a4baad.tar.gz forums-be90e9745242dbfa26aa7ebfbe41c80114a4baad.tar.bz2 forums-be90e9745242dbfa26aa7ebfbe41c80114a4baad.tar.xz forums-be90e9745242dbfa26aa7ebfbe41c80114a4baad.zip |
[ticket/12933] Handle case when * is last character of word
PHPBB3-12933
Diffstat (limited to 'phpBB/includes')
-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(); |