diff options
Diffstat (limited to 'update/plugin/phpBB3/trunk/root/includes')
-rw-r--r-- | update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php b/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php index 95d1956..714a47b 100644 --- a/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php +++ b/update/plugin/phpBB3/trunk/root/includes/functions_instadisc.php | |||
@@ -51,7 +51,13 @@ function sendItem($title, $userID, $url, $fourm) | |||
51 | new xmlrpcval($author, 'string'), | 51 | new xmlrpcval($author, 'string'), |
52 | new xmlrpcval($url, 'string'), | 52 | new xmlrpcval($url, 'string'), |
53 | new xmlrpcval(serialize($semantics), 'string'))); | 53 | new xmlrpcval(serialize($semantics), 'string'))); |
54 | $client->send($msg); | 54 | $resp = $client->send($msg); |
55 | $val = $resp->value()->scalarVal(); | ||
56 | |||
57 | if ($val == 2) | ||
58 | { | ||
59 | sendItem($title, $userID, $url, $fourm); | ||
60 | } | ||
55 | } | 61 | } |
56 | 62 | ||
57 | ?> | 63 | ?> |