search_to_sql: quote fallback search language
This commit is contained in:
parent
96d8c40188
commit
9274109c19
1 changed files with 1 additions and 1 deletions
|
@ -1381,7 +1381,7 @@
|
||||||
if ($search_language)
|
if ($search_language)
|
||||||
$search_language = $pdo->quote(mb_strtolower($search_language));
|
$search_language = $pdo->quote(mb_strtolower($search_language));
|
||||||
else
|
else
|
||||||
$search_language = "english";
|
$search_language = $pdo->quote("english");
|
||||||
|
|
||||||
foreach ($keywords as $k) {
|
foreach ($keywords as $k) {
|
||||||
if (strpos($k, "-") === 0) {
|
if (strpos($k, "-") === 0) {
|
||||||
|
|
Loading…
Reference in a new issue