aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw12x <none@none>2008-10-23 06:01:22 -0500
committerw12x <none@none>2008-10-23 06:01:22 -0500
commit6b7d68ddc18c654cd8aeadab106100ac3f30f017 (patch)
treea29daecce85536125d328e87ae002572bca7f918
parentc98b24cf29a8cd98201ac7bd00b457d8842c0f2d (diff)
[svn] Change 'tbc' to 'expansion' in the registration script, following realm db changes.
--HG-- branch : trunk
-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());