aboutsummaryrefslogtreecommitdiffstats
path: root/include/network.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-07-30 08:22:01 +0000
committerMario <mario@mariovavti.com>2020-07-30 08:22:01 +0000
commitf9271bb0bda12bbec38c823dbe3016e9164812b5 (patch)
tree1e2927d9bd8aac4e2bca2cbd15dcf310ccf7b9ea /include/network.php
parent06f03eb13a336761c49a353bc69b84323ba34f9c (diff)
parent1a1c0ca72c76096c8f9fdd40dc634460ce2a749e (diff)
downloadvolse-hubzilla-f9271bb0bda12bbec38c823dbe3016e9164812b5.tar.gz
volse-hubzilla-f9271bb0bda12bbec38c823dbe3016e9164812b5.tar.bz2
volse-hubzilla-f9271bb0bda12bbec38c823dbe3016e9164812b5.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'include/network.php')
-rw-r--r--include/network.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/network.php b/include/network.php
index aada36fba..d9d534cd7 100644
--- a/include/network.php
+++ b/include/network.php
@@ -1101,7 +1101,7 @@ function discover_by_webbie($webbie, $protocol = '') {
$network = null;
$x = webfinger_rfc7033($webbie, true);
- if($x && array_key_exists('links',$x) && $x['links']) {
+ if($x && array_key_exists('links',$x) && is_array($x['links'])) {
foreach($x['links'] as $link) {
if(array_key_exists('rel',$link)) {