search_to_sql: trim() input
This commit is contained in:
parent
610914d4d6
commit
28539f6aaf
1 changed files with 1 additions and 1 deletions
|
@ -284,7 +284,7 @@
|
||||||
|
|
||||||
function search_to_sql($search, $search_language) {
|
function search_to_sql($search, $search_language) {
|
||||||
|
|
||||||
$keywords = str_getcsv($search, " ");
|
$keywords = str_getcsv(trim($search), " ");
|
||||||
$query_keywords = array();
|
$query_keywords = array();
|
||||||
$search_words = array();
|
$search_words = array();
|
||||||
$search_query_leftover = array();
|
$search_query_leftover = array();
|
||||||
|
|
Loading…
Reference in a new issue