From: Friendika Date: Thu, 3 Feb 2011 03:28:40 +0000 (-0800) Subject: don't try to parse non-xml in dfrn_deliver X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a8cea3f30cce072e6fc3607e5cfc180b69c07387;p=friendica.git don't try to parse non-xml in dfrn_deliver --- diff --git a/include/items.php b/include/items.php index 0c9d54a330..a3078e39c6 100644 --- a/include/items.php +++ b/include/items.php @@ -800,6 +800,12 @@ function dfrn_deliver($owner,$contact,$atom, $dissolve = false) { if(! $xml) return 3; + if(strpos($xml,'status) != 0) || (! strlen($res->challenge)) || (! strlen($res->dfrn_id)))