From 6b7d68ddc18c654cd8aeadab106100ac3f30f017 Mon Sep 17 00:00:00 2001 From: w12x Date: Thu, 23 Oct 2008 06:01:22 -0500 Subject: [PATCH] [svn] Change 'tbc' to 'expansion' in the registration script, following realm db changes. --HG-- branch : trunk --- contrib/registration_form/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());