From dd2287d5e693af3ee9a8077db9db09402867833d Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 4 Aug 2008 13:05:19 +0000 Subject: Central: Fixed instaDisc_activateAccount --- central/trunk/instadisc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'central') diff --git a/central/trunk/instadisc.php b/central/trunk/instadisc.php index 7ad11ee..44ab2d8 100644 --- a/central/trunk/instadisc.php +++ b/central/trunk/instadisc.php @@ -170,7 +170,7 @@ function instaDisc_activateAccount($username, $penKey) $getuser3 = mysql_fetch_array($getuser2); if ($getuser3['username'] == $username) { - $insuser = "INSERT INTO users (username, password, email) VALUES (\"" . mysql_real_escape_string($username) . "\", \"" . mysql_real_escape_string($password) . "\", \"" . mysql_real_escape_string($email) . "\")"; + $insuser = "INSERT INTO users (username, password, email) VALUES (\"" . mysql_real_escape_string($username) . "\", \"" . mysql_real_escape_string($getuser3['password']) . "\", \"" . mysql_real_escape_string($getuser3['email']) . "\")"; $insuser2 = mysql_query($insuser); $delpending = "DELETE FROM pending WHERE username = \"" . mysql_real_escape_string($username) . "\""; -- cgit 1.4.1