diff options
author | Mario <mario@mariovavti.com> | 2022-11-05 09:50:55 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-11-05 09:50:55 +0000 |
commit | 7fc9c83986d0ca0707c408b77f2acfb954532c42 (patch) | |
tree | f65e899b792ef86f99539b06232e5baf2fe80714 /Zotlabs/Zot6 | |
parent | 81b02d04b5c486ed5b23467b25e1441ed6d37da9 (diff) | |
parent | 5502f1cc63d87bed8198d360ae0e8e7c5fa58f44 (diff) | |
download | volse-hubzilla-7fc9c83986d0ca0707c408b77f2acfb954532c42.tar.gz volse-hubzilla-7fc9c83986d0ca0707c408b77f2acfb954532c42.tar.bz2 volse-hubzilla-7fc9c83986d0ca0707c408b77f2acfb954532c42.zip |
Merge branch 'dev'
Diffstat (limited to 'Zotlabs/Zot6')
-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 { |