From e016b6868ec70f2cb3921c5e7b504ebf4a4c22e9 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Mon, 4 Aug 2008 14:24:37 +0000 Subject: Update: Fixed up a few errors in QA --- update/library/trunk/instadisc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'update/library') diff --git a/update/library/trunk/instadisc.php b/update/library/trunk/instadisc.php index 9f106c4..e36bad8 100644 --- a/update/library/trunk/instadisc.php +++ b/update/library/trunk/instadisc.php @@ -11,11 +11,12 @@ $idusSubscriptionURI = ''; // Set this to your unique URI function instaDisc_sendItem($title, $author, $url, $semantics) { + global $idusUsername, $idusPassword, $idusCentralServer, $idusSubscriptionURI; $verID = rand(1,65536); $client = new xmlrpc_client($idusCentralServer); $msg = new xmlrpcmsg("InstaDisc.sendFromUpdate", array( new xmlrpcval($idusUsername, 'string'), - new xmlrpcval(md5($idusUsername + ":" + md5($idusPassword) + ":" + $verID), 'string'), + new xmlrpcval(md5($idusUsername + ":" . md5($idusPassword) . ":" . $verID), 'string'), new xmlrpcval($verID, 'int'), new xmlrpcval($idusSubscriptionURI, 'string'), new xmlrpcval($title, 'string'), -- cgit 1.4.1