mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
Merge branch 'prep-release-3.0.13' into develop-olympus
* prep-release-3.0.13: [ticket/12933] Handle case when * is last character of word
This commit is contained in:
commit
f48cc8bbe9
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ class fulltext_native extends search_backend
|
||||||
$this->search_query = $keywords;
|
$this->search_query = $keywords;
|
||||||
|
|
||||||
$exact_words = array();
|
$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];
|
$exact_words = $exact_words[1];
|
||||||
|
|
||||||
$common_ids = $words = array();
|
$common_ids = $words = array();
|
||||||
|
|
Loading…
Add table
Reference in a new issue