From: Andrew Dolgov Date: Sat, 30 Dec 2017 13:27:05 +0000 (+0300) Subject: search_to_sql: quote fallback search language X-Git-Tag: 18.8~91 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=9274109c19e2f5ac1b222d9c67e791cbd3596b1e;p=tt-rss.git search_to_sql: quote fallback search language --- diff --git a/include/functions.php b/include/functions.php index 107a0284..649b7788 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1381,7 +1381,7 @@ if ($search_language) $search_language = $pdo->quote(mb_strtolower($search_language)); else - $search_language = "english"; + $search_language = $pdo->quote("english"); foreach ($keywords as $k) { if (strpos($k, "-") === 0) {