about summary refs log tree commit diff stats
path: root/update
diff options
context:
space:
mode:
Diffstat (limited to 'update')
-rw-r--r--update/library/trunk/instadisc.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/update/library/trunk/instadisc.php b/update/library/trunk/instadisc.php index cfb6473..1d8e44a 100644 --- a/update/library/trunk/instadisc.php +++ b/update/library/trunk/instadisc.php
@@ -31,11 +31,12 @@ function instaDisc_sendItem($id, $title, $author, $url, $semantics, $encryptionI
31 new xmlrpcval(serialize($semantics), 'string'), 31 new xmlrpcval(serialize($semantics), 'string'),
32 new xmlrpcval($encryptionID, 'int'))); 32 new xmlrpcval($encryptionID, 'int')));
33 $resp = $client->send($msg); 33 $resp = $client->send($msg);
34 $val = $resp->value()->scalarVal();
34 35
35 if ($resp->value() == 2) 36 if ($val == 2)
36 { 37 {
37 return instaDisc_sendItem($id, $title, $author, $url, $semantics, $encryptionID); 38 return instaDisc_sendItem($id, $title, $author, $url, $semantics, $encryptionID);
38 } else if ($resp->value() == 0) 39 } else if ($val == 0)
39 { 40 {
40 return TRUE; 41 return TRUE;
41 } else { 42 } else {