aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/registration_form/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/registration_form/index.php b/contrib/registration_form/index.php
index 39f752d0f98..f8f1396f721 100644
--- a/contrib/registration_form/index.php
+++ b/contrib/registration_form/index.php
@@ -133,7 +133,7 @@ if (!empty($_POST)) {
};
unset($qry);
$sha_pass_hash = sha1(strtoupper($username) . ":" . strtoupper($password));
- $register_sql = "insert into " . mysql_real_escape_string($r_db) . ".account (username, sha_pass_hash, email, tbc) values (upper('" . $username . "'),'" . $sha_pass_hash . "','" . $email . "','" . $tbc . "')";
+ $register_sql = "insert into " . mysql_real_escape_string($r_db) . ".account (username, sha_pass_hash, email, expansion) values (upper('" . $username . "'),'" . $sha_pass_hash . "','" . $email . "','" . $tbc . "')";
$qry = @mysql_query($register_sql, $con);
if (!$qry) {
error_s("Error creating account: " . mysql_error());