From b1590ad645eca3f9d35e6fb7250547f2244c3140 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 29 Mar 2020 10:47:22 +0000 Subject: fix check for existing hublocs --- Zotlabs/Module/Fhublocs.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- cgit v1.2.3