diff options
author | Andrew Dolgov <[email protected]> | 2013-11-14 15:10:33 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-11-14 15:10:33 +0400 |
commit | c6d970b857d193cee29c26ac553d8313fbafbea2 (patch) | |
tree | 18ddf782b0d770499f9b913415875bf9cd3ac016 /include/functions.php | |
parent | 5a450b87609b6638e1dcb288d9e566f005735f56 (diff) |
search to sql: use str_getcsv instead of explode to support quoted long string tokens
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php index ba2e90bd4..565ff0e55 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2243,7 +2243,7 @@ $search_query_part = ""; - $keywords = explode(" ", $search); + $keywords = str_getcsv($search, " "); $query_keywords = array(); $search_words = array(); |