diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-04 13:05:19 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-04 13:05:19 +0000 |
commit | dd2287d5e693af3ee9a8077db9db09402867833d (patch) | |
tree | 816101eabe3b0fa41d3891d5e354fb01478d2cd9 /central | |
parent | 242e153a6e6f7443d3199f1a50f7714f459c1f23 (diff) | |
download | instadisc-dd2287d5e693af3ee9a8077db9db09402867833d.tar.gz instadisc-dd2287d5e693af3ee9a8077db9db09402867833d.tar.bz2 instadisc-dd2287d5e693af3ee9a8077db9db09402867833d.zip |
Central: Fixed instaDisc_activateAccount
Diffstat (limited to 'central')
-rw-r--r-- | central/trunk/instadisc.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
170 | $getuser3 = mysql_fetch_array($getuser2); | 170 | $getuser3 = mysql_fetch_array($getuser2); |
171 | if ($getuser3['username'] == $username) | 171 | if ($getuser3['username'] == $username) |
172 | { | 172 | { |
173 | $insuser = "INSERT INTO users (username, password, email) VALUES (\"" . mysql_real_escape_string($username) . "\", \"" . mysql_real_escape_string($password) . "\", \"" . mysql_real_escape_string($email) . "\")"; | 173 | $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']) . "\")"; |
174 | $insuser2 = mysql_query($insuser); | 174 | $insuser2 = mysql_query($insuser); |
175 | 175 | ||
176 | $delpending = "DELETE FROM pending WHERE username = \"" . mysql_real_escape_string($username) . "\""; | 176 | $delpending = "DELETE FROM pending WHERE username = \"" . mysql_real_escape_string($username) . "\""; |