aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib
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/Lib
parent2f21dc50b4887f7397f0124245f4bdbf22241a81 (diff)
downloadvolse-hubzilla-ad35363c2e2ea30707cbea4796a03b88abde380e.tar.gz
volse-hubzilla-ad35363c2e2ea30707cbea4796a03b88abde380e.tar.bz2
volse-hubzilla-ad35363c2e2ea30707cbea4796a03b88abde380e.zip
hub reinstall issues
Diffstat (limited to 'Zotlabs/Lib')
-rw-r--r--Zotlabs/Lib/Libzot.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index 84fccd18f..607eadb07 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -1233,7 +1233,7 @@ class Libzot {
return;
}
- $r = q("select hubloc_hash, hubloc_network, hubloc_url from hubloc where hubloc_id_url = '%s'",
+ $r = q("select hubloc_hash, hubloc_network, hubloc_url from hubloc where hubloc_id_url = '%s' order by hubloc_id desc",
dbesc($AS->actor['id'])
);
@@ -1241,7 +1241,7 @@ class Libzot {
// Author is unknown to this site. Perform channel discovery and try again.
$z = discover_by_webbie($AS->actor['id']);
if ($z) {
- $r = q("select hubloc_hash, hubloc_network, hubloc_url from hubloc where hubloc_id_url = '%s'",
+ $r = q("select hubloc_hash, hubloc_network, hubloc_url from hubloc where hubloc_id_url = '%s' order by hubloc_id desc",
dbesc($AS->actor['id'])
);
}
@@ -2738,7 +2738,7 @@ class Libzot {
$ztarget_hash = EMPTY_STR;
if ($ztarget) {
- $t = q("select * from hubloc where hubloc_id_url = '%s' and hubloc_network = 'zot6' limit 1",
+ $t = q("select * from hubloc where hubloc_id_url = '%s' and hubloc_network = 'zot6' order by hubloc_id desc limit 1",
dbesc($ztarget)
);
if ($t) {