From b183ebe5aa8da9f77cd412bee077f598182b767d Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Wed, 6 Aug 2008 13:39:33 +0000 Subject: Central: Tweaked deserialization --- central/trunk/xmlrpc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'central/trunk/xmlrpc.php') diff --git a/central/trunk/xmlrpc.php b/central/trunk/xmlrpc.php index 5373f80..18aa6cb 100644 --- a/central/trunk/xmlrpc.php +++ b/central/trunk/xmlrpc.php @@ -63,7 +63,10 @@ function requestRetained($username, $verification, $verificationID) $i=0; while ($getitems3[$i] = mysql_fetch_array($getitems2)) { - instaDisc_sendItem($username, $getitems3[$i]['itemID']); + if (!instaDisc_sendItem($username, $getitems3[$i]['itemID'])) + { + return new xmlrpcresp(new xmlrpcval(1, "int")); + } $i++; } -- cgit 1.4.1