From 3e6d87739117bd9908549180408f8145f3868de4 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Wed, 13 Aug 2008 03:55:08 +0000 Subject: Central: Fixed typos Refs #10 --- central/trunk/instadisc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'central/trunk') diff --git a/central/trunk/instadisc.php b/central/trunk/instadisc.php index 75a9bf1..1867757 100644 --- a/central/trunk/instadisc.php +++ b/central/trunk/instadisc.php @@ -148,7 +148,7 @@ function instaDisc_addItem($username, $subscription, $title, $author, $url, $sem $setuser = "UPDATE users SET nextItemID = nextItemID+1 WHERE username = \"" . mysql_real_escape_string($username) . "\""; $setuser2 = mysql_query($setuser); - $insitem = "INSERT INTO inbox (username, itemID, subscription, title, author, url, semantics, encryptionID) VALUES (\"" . mysql_real_escape_string($username) . "\", " . $itemID . ", \"" . mysql_real_escape_string($subscription) . "\", \"" . mysql_real_escape_string($title) . "\", \"" . mysql_real_escape_string($author) . "\", \"" . mysql_real_escape_string($url) . "\", \"" . mysql_real_escape_string($semantics) . "\",\" . $encryptionID . "\")"; + $insitem = "INSERT INTO inbox (username, itemID, subscription, title, author, url, semantics, encryptionID) VALUES (\"" . mysql_real_escape_string($username) . "\", " . $itemID . ", \"" . mysql_real_escape_string($subscription) . "\", \"" . mysql_real_escape_string($title) . "\", \"" . mysql_real_escape_string($author) . "\", \"" . mysql_real_escape_string($url) . "\", \"" . mysql_real_escape_string($semantics) . "\"," . $encryptionID . ")"; $insitem2 = mysql_query($insitem); instaDisc_sendItem($username, $itemID); -- cgit 1.4.1