summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2017-02-26 21:58:05 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2017-02-27 18:19:08 +0100
commitcda832cbf0690a580e8fb6542ac3c4db7a610d59 (patch)
treecd9863e4611fea4bcfdff29c6ebdae1f70889e0e
parent69f7eb115a0a48d4d2808708bcfef9eaf292f64c (diff)
downloadaur-cda832cbf0690a580e8fb6542ac3c4db7a610d59.tar.gz
aur-cda832cbf0690a580e8fb6542ac3c4db7a610d59.tar.xz
Fix SQL query used for creating new accounts
Fixes a regression introduced in 608c483 (Add user set timezones, 2017-01-20). Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
-rw-r--r--web/lib/acctfuncs.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/acctfuncs.inc.php b/web/lib/acctfuncs.inc.php
index d0a7ff94..5f7f1f4c 100644
--- a/web/lib/acctfuncs.inc.php
+++ b/web/lib/acctfuncs.inc.php
@@ -292,7 +292,7 @@ function process_account_form($TYPE,$A,$U="",$T="",$S="",$E="",$H="",$P="",$C=""
$q = "INSERT INTO Users (AccountTypeID, Suspended, ";
$q.= "InactivityTS, Username, Email, Passwd , ";
$q.= "RealName, LangPreference, Timezone, Homepage, IRCNick, PGPKey) ";
- $q.= "VALUES (1, 0, 0, $U, $E, $P, $R, $L, $TZ ";
+ $q.= "VALUES (1, 0, 0, $U, $E, $P, $R, $L, $TZ, ";
$q.= "$HP, $I, $K)";
$result = $dbh->exec($q);
if (!$result) {