Closed pxmch closed 5 years ago
Describe the bug If a search term starts with a plus (+) or a minus (-) sign, comb throws the following exception: ErrorException in Comb.php line 714: Array to string conversion
ErrorException in Comb.php line 714: Array to string conversion
To Reproduce
<form method="get" action="/varia/search" id="search-form"> <input id="site-search" type="text" value="" class="search-query" name="q"> <input type="submit" value="Suche" name="Suche" class="btn-search"> </form>
+term1
-term1
term1 +term2
term1 -term2
Expected behavior The search should return some or no results but not throw an exception
Screenshots
Environment details (please complete the following information):
Describe the bug If a search term starts with a plus (+) or a minus (-) sign, comb throws the following exception:
ErrorException in Comb.php line 714: Array to string conversion
To Reproduce
+term1
or-term1
orterm1 +term2
orterm1 -term2
Expected behavior The search should return some or no results but not throw an exception
Screenshots
Environment details (please complete the following information):