aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-09-28 10:35:09 +0000
committerMario <mario@mariovavti.com>2022-09-28 10:35:09 +0000
commit05bd2a1f9e1f2fc6f0c501201dd73467443799ce (patch)
tree9884c22fb3cd41ef03e3a682b1cc053521cd9578 /Zotlabs/Lib
parentad35363c2e2ea30707cbea4796a03b88abde380e (diff)
downloadvolse-hubzilla-05bd2a1f9e1f2fc6f0c501201dd73467443799ce.tar.gz
volse-hubzilla-05bd2a1f9e1f2fc6f0c501201dd73467443799ce.tar.bz2
volse-hubzilla-05bd2a1f9e1f2fc6f0c501201dd73467443799ce.zip
one more hub reinstall fix
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Libzot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index 607eadb07..3d14248de 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -1261,7 +1261,7 @@ class Libzot {
if(filter_var($env['sender'], FILTER_VALIDATE_URL)) {
// in individual delivery, change owner if needed
- $s = q("select hubloc_hash, hubloc_url from hubloc where hubloc_id_url = '%s' and hubloc_network = 'zot6' limit 1",
+ $s = q("select hubloc_hash, hubloc_url from hubloc where hubloc_id_url = '%s' and hubloc_network = 'zot6' order by hubloc_id desc limit 1",
dbesc($env['sender'])
);