search_to_sql: trim() input
This commit is contained in:
parent
610914d4d6
commit
28539f6aaf
|
@ -284,7 +284,7 @@
|
|||
|
||||
function search_to_sql($search, $search_language) {
|
||||
|
||||
$keywords = str_getcsv($search, " ");
|
||||
$keywords = str_getcsv(trim($search), " ");
|
||||
$query_keywords = array();
|
||||
$search_words = array();
|
||||
$search_query_leftover = array();
|
||||
|
|
Loading…
Reference in New Issue