1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-25 11:01:48 +02:00

[ticket/17115] Fix PHP warning for space+hyphen ending search query

PHPBB3-17115
This commit is contained in:
rxu
2023-03-16 20:15:40 +07:00
parent 9fb7a9108a
commit defb807dbc
2 changed files with 2 additions and 1 deletions

View File

@@ -164,6 +164,7 @@ abstract class phpbb_functional_search_base extends phpbb_functional_test_case
}
$this->assert_search_not_found('loremipsumdedo');
$this->assert_search_not_found('loremipsumdedo+-'); // test search query ending with the space followed by hyphen
$this->assert_search_not_found('barsearch+-testing'); // test excluding keyword
$this->assert_search_for_author_not_found('authornotexists');