summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-12-30 16:27:05 +0300
committerAndrew Dolgov <[email protected]>2017-12-30 16:27:05 +0300
commit9274109c19e2f5ac1b222d9c67e791cbd3596b1e (patch)
treecb9230f523965b2ea0de69c8b3c89bdf7d265ec3 /include
parent96d8c40188b2a9aec3eef3d9a3c92cba6327d226 (diff)
search_to_sql: quote fallback search language
Diffstat (limited to 'include')
-rw-r--r--include/functions.php2
1 files changed, 1 insertions, 1 deletions
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) {