From 73e330abbe38a1a70ae247279f6d8ae84ee21261 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 12 Dec 2016 06:51:08 +0000 Subject: [PATCH] Restore empty line --- include/socgraph.php | 1 + 1 file changed, 1 insertion(+) 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"); }