diff options
author | zotlabs <mike@macgirvin.com> | 2020-07-22 16:20:36 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2020-07-22 16:20:36 -0700 |
commit | 13ff9a897da05fbd4d82f9bfa758e6f821b833b3 (patch) | |
tree | 9fb1f038754f90aadd987b2d622efc3373b129f5 /include/network.php | |
parent | 29c5a65e8f773b2acd63b4f378a749bdb686bb9a (diff) | |
download | volse-hubzilla-13ff9a897da05fbd4d82f9bfa758e6f821b833b3.tar.gz volse-hubzilla-13ff9a897da05fbd4d82f9bfa758e6f821b833b3.tar.bz2 volse-hubzilla-13ff9a897da05fbd4d82f9bfa758e6f821b833b3.zip |
foreach warning
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)) { |