diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-07 15:59:52 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-09-07 15:59:52 +0000 |
commit | 7a683b695a297794bf86b063ebf2e77835f334d0 (patch) | |
tree | 38b438a691d184f2698f6be3fd63e19f9e8b6d52 /series/core/trunk/includes | |
parent | e88f3d0e3f34b3cd396ad8fa11c6717addf04e63 (diff) | |
download | instadisc-7a683b695a297794bf86b063ebf2e77835f334d0.tar.gz instadisc-7a683b695a297794bf86b063ebf2e77835f334d0.tar.bz2 instadisc-7a683b695a297794bf86b063ebf2e77835f334d0.zip |
Series: Fixed a few errors
[15] Refs #53
Diffstat (limited to 'series/core/trunk/includes')
-rw-r--r-- | series/core/trunk/includes/instadisc.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
65 | 65 | ||
66 | function instaDisc_addSubscription($id, $title, $url, $category, $password = '') | 66 | function instaDisc_addSubscription($id, $title, $url, $category, $password = '') |
67 | { | 67 | { |
68 | $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))) . "\")"; | 68 | $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\")"; |
69 | $inssub2 = mysql_query($inssub); | 69 | $inssub2 = mysql_query($inssub); |
70 | } | 70 | } |
71 | 71 | ||