From 429f9f9f8e07994231d7d6198e44bd30ada27c8b Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 17 Aug 2008 01:45:56 +0000 Subject: Central: Modified Verification ID deletion Refs #42 --- central/trunk/includes/instadisc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'central/trunk') 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, $cntverid3 = mysql_fetch_array($cntverid2); if ($cntverid3[0] >= intval(instaDisc_getConfig('verIDBufferSize'))) { - $delverid = "DELETE FROM oldVerID WHERE username = \"" . mysql_real_escape_string($username) . "\""; + $delverid = "DELETE FROM oldVerID WHERE username = \"" . mysql_real_escape_string($username) . "\" LIMIT 0,1"; $delverid2 = mysql_query($delverid); } -- cgit 1.4.1