mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Remove extraneous quote in translator.inc.php
The quote is a leftover of legacy code and was meant to be removed by
commit e171f6f
(Migrate all DB code to use PDO, 2012-08-08).
Signed-off-by: Mark Weiman <mark.weiman@markzz.com>
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
6502518d4e
commit
ddbffcc4d5
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ function set_lang() {
|
||||||
$dbh = DB::connect();
|
$dbh = DB::connect();
|
||||||
$q = "SELECT LangPreference FROM Users, Sessions ";
|
$q = "SELECT LangPreference FROM Users, Sessions ";
|
||||||
$q.= "WHERE Users.ID = Sessions.UsersID ";
|
$q.= "WHERE Users.ID = Sessions.UsersID ";
|
||||||
$q.= "AND Sessions.SessionID = '";
|
$q.= "AND Sessions.SessionID = ";
|
||||||
$q.= $dbh->quote($_COOKIE["AURSID"]);
|
$q.= $dbh->quote($_COOKIE["AURSID"]);
|
||||||
$result = $dbh->query($q);
|
$result = $dbh->query($q);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue