about summary refs log tree commit diff stats
path: root/central/trunk/instadisc.php
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-08-04 13:05:19 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-08-04 13:05:19 +0000
commitdd2287d5e693af3ee9a8077db9db09402867833d (patch)
tree816101eabe3b0fa41d3891d5e354fb01478d2cd9 /central/trunk/instadisc.php
parent242e153a6e6f7443d3199f1a50f7714f459c1f23 (diff)
downloadinstadisc-dd2287d5e693af3ee9a8077db9db09402867833d.tar.gz
instadisc-dd2287d5e693af3ee9a8077db9db09402867833d.tar.bz2
instadisc-dd2287d5e693af3ee9a8077db9db09402867833d.zip
Central: Fixed instaDisc_activateAccount
Diffstat (limited to 'central/trunk/instadisc.php')
-rw-r--r--central/trunk/instadisc.php2
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) . "\"";