From 7a683b695a297794bf86b063ebf2e77835f334d0 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Sun, 7 Sep 2008 15:59:52 +0000 Subject: Series: Fixed a few errors [15] Refs #53 --- series/core/trunk/includes/instadisc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'series/core/trunk/includes/instadisc.php') diff --git a/series/core/trunk/includes/instadisc.php b/series/core/trunk/includes/instadisc.php index 6cf4657..dd879c6 100644 --- a/series/core/trunk/includes/instadisc.php +++ b/series/core/trunk/includes/instadisc.php @@ -65,7 +65,7 @@ function instaDisc_changePassword($password) function instaDisc_addSubscription($id, $title, $url, $category, $password = '') { - $inssub = "INSERT INTO subscriptions (identity, title, url, category, password) VALUES (\"" . mysql_real_escape_string($id) . "\",\"" . mysql_real_escape_string($title) . "\",\"" . mysql_real_escape_string($url) . "\",\"" . mysql_real_escape_string($category) . "\",\"" . mysql_real_escape_string(($password == '' ? '' : md5($password))) . "\")"; + $inssub = "INSERT INTO subscriptions (identity, title, url, category, password, personal) VALUES (\"" . mysql_real_escape_string($id) . "\",\"" . mysql_real_escape_string($title) . "\",\"" . mysql_real_escape_string($url) . "\",\"" . mysql_real_escape_string($category) . "\",\"" . mysql_real_escape_string(($password == '' ? '' : md5($password))) . "\",\"false\")"; $inssub2 = mysql_query($inssub); } -- cgit 1.4.1