From d1d077596875a0ceb050aa513d5fc46f307dec82 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 14 Sep 2008 17:13:26 +0000 Subject: Series: [15] Refs #53 --- series/trunk/includes/instadisc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/series/trunk/includes/instadisc.php b/series/trunk/includes/instadisc.php index bfaaf7f..f4aed39 100644 --- a/series/trunk/includes/instadisc.php +++ b/series/trunk/includes/instadisc.php @@ -74,7 +74,7 @@ function instaDisc_initSubscription($username, $subscriptionID, $subscriptionURL $getuser3 = mysql_fetch_array($getuser2); if ($getuser3['username'] == $username) { - $getsub = "SELECT * FROM subscriptions WHERE identity = \"" . mysql_real_escape_string($seriesID) . "\""; + $getsub = "SELECT * FROM subscriptions WHERE identity = \"" . mysql_real_escape_string($subscriptionID) . "\""; $getsub2 = mysql_query($getsub); $getsub3 = mysql_fetch_array($getsub2); if ($getsub3['identity'] == $subscriptionID) -- cgit 1.4.1