diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-17 01:45:56 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-17 01:45:56 +0000 |
commit | 429f9f9f8e07994231d7d6198e44bd30ada27c8b (patch) | |
tree | 3ca8aa3c4ee45f00627b83de0d0f1bdc0fa6ea1a | |
parent | d1bb2bc4a10548a716899b706b6d4cb2151b6c0f (diff) | |
download | instadisc-429f9f9f8e07994231d7d6198e44bd30ada27c8b.tar.gz instadisc-429f9f9f8e07994231d7d6198e44bd30ada27c8b.tar.bz2 instadisc-429f9f9f8e07994231d7d6198e44bd30ada27c8b.zip |
Central: Modified Verification ID deletion
Refs #42
-rw-r--r-- | central/trunk/includes/instadisc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/central/trunk/includes/instadisc.php b/central/trunk/includes/instadisc.php index 08394e1..4355bf5 100644 --- a/central/trunk/includes/instadisc.php +++ b/central/trunk/includes/instadisc.php | |||
@@ -26,7 +26,7 @@ function instaDisc_checkVerification($username, $verification, $verificationID, | |||
26 | $cntverid3 = mysql_fetch_array($cntverid2); | 26 | $cntverid3 = mysql_fetch_array($cntverid2); |
27 | if ($cntverid3[0] >= intval(instaDisc_getConfig('verIDBufferSize'))) | 27 | if ($cntverid3[0] >= intval(instaDisc_getConfig('verIDBufferSize'))) |
28 | { | 28 | { |
29 | $delverid = "DELETE FROM oldVerID WHERE username = \"" . mysql_real_escape_string($username) . "\""; | 29 | $delverid = "DELETE FROM oldVerID WHERE username = \"" . mysql_real_escape_string($username) . "\" LIMIT 0,1"; |
30 | $delverid2 = mysql_query($delverid); | 30 | $delverid2 = mysql_query($delverid); |
31 | } | 31 | } |
32 | 32 | ||