mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
69f7eb115a
commit
cda832cbf0
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ function process_account_form($TYPE,$A,$U="",$T="",$S="",$E="",$H="",$P="",$C=""
|
||||||
$q = "INSERT INTO Users (AccountTypeID, Suspended, ";
|
$q = "INSERT INTO Users (AccountTypeID, Suspended, ";
|
||||||
$q.= "InactivityTS, Username, Email, Passwd , ";
|
$q.= "InactivityTS, Username, Email, Passwd , ";
|
||||||
$q.= "RealName, LangPreference, Timezone, Homepage, IRCNick, PGPKey) ";
|
$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)";
|
$q.= "$HP, $I, $K)";
|
||||||
$result = $dbh->exec($q);
|
$result = $dbh->exec($q);
|
||||||
if (!$result) {
|
if (!$result) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue