Commit cda832cb authored by Lukas Fleischer's avatar Lukas Fleischer
Browse files

Fix SQL query used for creating new accounts

Fixes a regression introduced in 608c4830

 (Add user set timezones,

Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <>
parent 69f7eb11
......@@ -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) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment