From: Andrew Dolgov Date: Thu, 14 Nov 2013 11:10:33 +0000 (+0400) Subject: search to sql: use str_getcsv instead of explode to support quoted long string tokens X-Git-Tag: 1.11~21 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c6d970b857d193cee29c26ac553d8313fbafbea2;p=tt-rss.git search to sql: use str_getcsv instead of explode to support quoted long string tokens --- diff --git a/include/functions.php b/include/functions.php index ba2e90bd..565ff0e5 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();