diff options
Diffstat (limited to 'Zotlabs/Zot6/Zot6Handler.php')
-rw-r--r-- | Zotlabs/Zot6/Zot6Handler.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Zotlabs/Zot6/Zot6Handler.php b/Zotlabs/Zot6/Zot6Handler.php index 4dc410f52..053901205 100644 --- a/Zotlabs/Zot6/Zot6Handler.php +++ b/Zotlabs/Zot6/Zot6Handler.php @@ -71,7 +71,10 @@ class Zot6Handler implements IHandler { where xchan_hash ='%s' limit 1", dbesc($recip) ); - $x = Libzot::refresh([ 'hubloc_id_url' => $hub['hubloc_id_url']], $r[0], $force); + + if ($r) { + $x = Libzot::refresh([ 'hubloc_id_url' => $hub['hubloc_id_url']], $r[0], $force); + } } } else { |