https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92214b8
)
Fixed bug
author
Jeroen De Meerleer
<me@jeroened.be>
Sat, 22 Dec 2018 16:19:34 +0000
(17:19 +0100)
committer
Jeroen De Meerleer
<me@jeroened.be>
Sat, 22 Dec 2018 16:19:34 +0000
(17:19 +0100)
$curlResult is not an array
src/Protocol/PortableContact.php
patch
|
blob
|
history
diff --git
a/src/Protocol/PortableContact.php
b/src/Protocol/PortableContact.php
index
de49a8d
..
1ff47ae
100644
(file)
--- 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);