1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-20 07:42:09 +02: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:
Andreas Fischer 2015-01-29 00:03:16 +01:00
commit f48cc8bbe9

View File

@ -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();