diff options
author | Mario <mario@mariovavti.com> | 2020-03-29 10:47:22 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-03-29 10:47:22 +0000 |
commit | b1590ad645eca3f9d35e6fb7250547f2244c3140 (patch) | |
tree | 13505c5ab4539fc7eb511a33b8c5e0556121ea98 /Zotlabs/Module/Fhublocs.php | |
parent | f49010bb12731c71c278dad8300e8dd117641bf9 (diff) | |
download | volse-hubzilla-b1590ad645eca3f9d35e6fb7250547f2244c3140.tar.gz volse-hubzilla-b1590ad645eca3f9d35e6fb7250547f2244c3140.tar.bz2 volse-hubzilla-b1590ad645eca3f9d35e6fb7250547f2244c3140.zip |
fix check for existing hublocs
Diffstat (limited to 'Zotlabs/Module/Fhublocs.php')
-rw-r--r-- | Zotlabs/Module/Fhublocs.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Fhublocs.php b/Zotlabs/Module/Fhublocs.php index 989456f66..dcd399a1f 100644 --- a/Zotlabs/Module/Fhublocs.php +++ b/Zotlabs/Module/Fhublocs.php @@ -26,7 +26,8 @@ class Fhublocs extends \Zotlabs\Web\Controller { $found = false; $primary_address = ''; - $x = zot_get_hublocs($rr['channel_hash']); + $x = Libzot::get_hublocs($rr['channel_hash']); + if($x) { foreach($x as $xx) { if($xx['hubloc_url'] === z_root() && $xx['hubloc_sitekey'] === $sitekey) { |