From 9274109c19e2f5ac1b222d9c67e791cbd3596b1e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 30 Dec 2017 16:27:05 +0300 Subject: [PATCH] search_to_sql: quote fallback search language --- include/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/functions.php b/include/functions.php index 107a02843..649b77881 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) {