From: Michael Date: Mon, 12 Dec 2016 06:51:08 +0000 (+0000) Subject: Restore empty line X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=73e330abbe38a1a70ae247279f6d8ae84ee21261;p=friendica.git Restore empty line --- diff --git a/include/socgraph.php b/include/socgraph.php index f138843538..765ed5d891 100644 --- a/include/socgraph.php +++ b/include/socgraph.php @@ -732,6 +732,7 @@ function poco_check_server($server_url, $network = "", $force = false) { if (!$serverret["success"] OR ($serverret["body"] == "") OR (@sizeof($xmlobj) == 0) OR !is_object($xmlobj)) { $server_url = str_replace("https://", "http://", $server_url); $serverret = z_fetch_url($server_url."/.well-known/host-meta"); + $xmlobj = @simplexml_load_string($serverret["body"],'SimpleXMLElement',0, "http://docs.oasis-open.org/ns/xri/xrd-1.0"); }