diff options
author | Mario <mario@mariovavti.com> | 2020-07-30 09:19:32 +0200 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-07-30 09:19:32 +0200 |
commit | 73f2db09ae060000056f295977f693b06f8bf0b0 (patch) | |
tree | 0e4d312859ef5ca92c7a3864037507e015ddc322 /include/network.php | |
parent | be533679dda38f4ad63564c041fd98fbda711c4a (diff) | |
parent | 7ae86d29d2474c5e85965c06a4c6a6b7e416b333 (diff) | |
download | volse-hubzilla-73f2db09ae060000056f295977f693b06f8bf0b0.tar.gz volse-hubzilla-73f2db09ae060000056f295977f693b06f8bf0b0.tar.bz2 volse-hubzilla-73f2db09ae060000056f295977f693b06f8bf0b0.zip |
Merge branch 'dev' into 'dev'
foreach warning and a minor update to util/zotsh
See merge request hubzilla/core!1864
Diffstat (limited to 'include/network.php')
-rw-r--r-- | include/network.php | 2 |
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)) { |