diff options
Diffstat (limited to 'central/trunk/instadisc.php')
-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) . "\""; |