From e9c08a16894422bbcb4c7fcf9a93a8762717faaa Mon Sep 17 00:00:00 2001 From: crowjake Date: Sat, 6 Jul 2024 01:25:19 +0100 Subject: [PATCH] [ticket/17365] Include $countable_keywords with spaces before -, + and | This reverses the previous commit and tries a different approach which may be more friendly to the tests --- phpBB/phpbb/search/fulltext_native.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/phpBB/phpbb/search/fulltext_native.php b/phpBB/phpbb/search/fulltext_native.php index 8fa8bc84ae..7412f02f4f 100644 --- a/phpBB/phpbb/search/fulltext_native.php +++ b/phpBB/phpbb/search/fulltext_native.php @@ -289,7 +289,6 @@ class fulltext_native extends \phpbb\search\base '#(\+|\-)(?:\+|\-)+#', '#\(\|#', '#\|\)#', - '#(?config['max_num_search_keywords'] && $num_keywords > $this->config['max_num_search_keywords'])