Merge pull request #6304 from JeroenED/bugfix/utzer-bug

Fixed bug reported by Utzer
This commit is contained in:
Michael Vogel 2018-12-22 18:03:56 +01:00 committed by GitHub
commit 6f8c9a08a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1778,7 +1778,7 @@ class PortableContact
$curlResult = Network::curl($url); $curlResult = Network::curl($url);
if ($curlResult->isSuccess()) { if ($curlResult->isSuccess()) {
$data = json_decode($curlResult["body"], true); $data = json_decode($curlResult->getBody(), true);
if (!empty($data)) { if (!empty($data)) {
self::discoverServer($data, 3); self::discoverServer($data, 3);