aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Channel.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-09-28 10:27:35 +0000
committerMario <mario@mariovavti.com>2022-09-28 10:27:35 +0000
commitad35363c2e2ea30707cbea4796a03b88abde380e (patch)
tree962557cd6d8001a3a1f42ccf94682638d85376d7 /Zotlabs/Module/Channel.php
parent2f21dc50b4887f7397f0124245f4bdbf22241a81 (diff)
downloadvolse-hubzilla-ad35363c2e2ea30707cbea4796a03b88abde380e.tar.gz
volse-hubzilla-ad35363c2e2ea30707cbea4796a03b88abde380e.tar.bz2
volse-hubzilla-ad35363c2e2ea30707cbea4796a03b88abde380e.zip
hub reinstall issues
Diffstat (limited to 'Zotlabs/Module/Channel.php')
-rw-r--r--Zotlabs/Module/Channel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Channel.php b/Zotlabs/Module/Channel.php
index 7ffc7cfb0..24a3fd44f 100644
--- a/Zotlabs/Module/Channel.php
+++ b/Zotlabs/Module/Channel.php
@@ -67,7 +67,7 @@ class Channel extends Controller {
if ($sigdata && $sigdata['signer'] && $sigdata['header_valid']) {
$data = json_encode(Libzot::zotinfo(['guid_hash' => $channel['channel_hash'], 'target_url' => $sigdata['signer']]));
- $s = q("select site_crypto, hubloc_sitekey from site left join hubloc on hubloc_url = site_url where hubloc_id_url = '%s' and hubloc_network = 'zot6' limit 1",
+ $s = q("select site_crypto, hubloc_sitekey from site left join hubloc on hubloc_url = site_url where hubloc_id_url = '%s' and hubloc_network = 'zot6' order by hubloc_id desc limit 1",
dbesc($sigdata['signer'])
);