aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-21 23:00:01 -0800
committerFriendika <info@friendika.com>2010-11-21 23:00:01 -0800
commitde6c777d3f6753b8fb5f33bc0ee8acafc6772551 (patch)
treeef95d120dd770da99071b195fdc08626981cc639 /include/items.php
parent552c56102ea70c6c9e32e13675b564a36814a069 (diff)
downloadvolse-hubzilla-de6c777d3f6753b8fb5f33bc0ee8acafc6772551.tar.gz
volse-hubzilla-de6c777d3f6753b8fb5f33bc0ee8acafc6772551.tar.bz2
volse-hubzilla-de6c777d3f6753b8fb5f33bc0ee8acafc6772551.zip
infrastructure for queueing, redelivery
Diffstat (limited to 'include/items.php')
-rw-r--r--include/items.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 584236f78..b5e901c91 100644
--- a/include/items.php
+++ b/include/items.php
@@ -710,7 +710,10 @@ function dfrn_deliver($owner,$contact,$atom) {
$xml = post_url($contact['notify'],$postvars);
- logger('dfrn_deliver: ' . "SENDING: " . print_r($postvars,true) . "\n" . "RECEIVING: " . $xml);
+ logger('dfrn_deliver: ' . "SENDING: " . print_r($postvars,true) . "\n" . "RECEIVING: " . $xml, LOGGER_DATA);
+
+ if(! strlen($xml))
+ return(-1);
$res = simplexml_load_string($xml);