search to sql: use str_getcsv instead of explode to support quoted long string tokens

This commit is contained in:
Andrew Dolgov 2013-11-14 15:10:33 +04:00
parent 5a450b8760
commit c6d970b857

View file

@ -2243,7 +2243,7 @@
$search_query_part = ""; $search_query_part = "";
$keywords = explode(" ", $search); $keywords = str_getcsv($search, " ");
$query_keywords = array(); $query_keywords = array();
$search_words = array(); $search_words = array();