mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/12933] Handle case when * is last character of word
PHPBB3-12933
This commit is contained in:
parent
5ce89ae82f
commit
5eb0d422c8
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue