1
0
Fork 0
mirror of https://github.com/friendica/friendica synced 2025-01-13 07:24:51 +00:00

Fixed bug

$curlResult is not an array
This commit is contained in:
Jeroen De Meerleer 2018-12-22 17:19:34 +01:00
parent 92214b8867
commit 27eddfee27

View file

@ -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);