From: Jeroen De Meerleer Date: Sat, 22 Dec 2018 16:19:34 +0000 (+0100) Subject: Fixed bug X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=27eddfee2728371ec65d21447bcb967eec2ee540;p=friendica.git Fixed bug $curlResult is not an array --- diff --git a/src/Protocol/PortableContact.php b/src/Protocol/PortableContact.php index de49a8d3ca..1ff47aeff7 100644 --- a/src/Protocol/PortableContact.php +++ b/src/Protocol/PortableContact.php @@ -1778,7 +1778,7 @@ class PortableContact $curlResult = Network::curl($url); if ($curlResult->isSuccess()) { - $data = json_decode($curlResult["body"], true); + $data = json_decode($curlResult[->getBody(), true); if (!empty($data)) { self::discoverServer($data, 3);