summaryrefslogtreecommitdiffstats
path: root/web/lib
diff options
context:
space:
mode:
authorMark Weiman <mark.weiman@markzz.com>2016-11-10 03:48:30 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2016-11-10 18:31:20 +0100
commitddbffcc4d57c5d27022e3f2a603c0b559bf6b05c (patch)
tree48a0537c51dc1bc21fadef591154c70ab09fb1f6 /web/lib
parent6502518d4e190b92ce771389d437a001687950d0 (diff)
downloadaur-ddbffcc4d57c5d27022e3f2a603c0b559bf6b05c.tar.gz
aur-ddbffcc4d57c5d27022e3f2a603c0b559bf6b05c.tar.xz
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>
Diffstat (limited to 'web/lib')
-rw-r--r--web/lib/translator.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/translator.inc.php b/web/lib/translator.inc.php
index d53bd530..58648c41 100644
--- a/web/lib/translator.inc.php
+++ b/web/lib/translator.inc.php
@@ -106,7 +106,7 @@ function set_lang() {
$dbh = DB::connect();
$q = "SELECT LangPreference FROM Users, Sessions ";
$q.= "WHERE Users.ID = Sessions.UsersID ";
- $q.= "AND Sessions.SessionID = '";
+ $q.= "AND Sessions.SessionID = ";
$q.= $dbh->quote($_COOKIE["AURSID"]);
$result = $dbh->query($q);