aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Libzot.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-02-09 01:52:48 +0000
committerMario <mario@mariovavti.com>2023-02-09 01:52:48 +0000
commit09c9b47265b144c905a51434c40002d8aef526e5 (patch)
treeff006fb316e3aa49ab49a6ed067aac4aea152b63 /Zotlabs/Lib/Libzot.php
parentea2b653b9bd831e835e19d4f5f1e560cee2f200e (diff)
downloadvolse-hubzilla-09c9b47265b144c905a51434c40002d8aef526e5.tar.gz
volse-hubzilla-09c9b47265b144c905a51434c40002d8aef526e5.tar.bz2
volse-hubzilla-09c9b47265b144c905a51434c40002d8aef526e5.zip
fix more hubloc confusion, implement hq widget author filter and some autocomplete fixes
Diffstat (limited to 'Zotlabs/Lib/Libzot.php')
-rw-r--r--Zotlabs/Lib/Libzot.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php
index e4be56157..c2787e03c 100644
--- a/Zotlabs/Lib/Libzot.php
+++ b/Zotlabs/Lib/Libzot.php
@@ -1974,7 +1974,7 @@ class Libzot {
$ret = [];
- $signer = q("select hubloc_hash, hubloc_url from hubloc where hubloc_id_url = '%s' and hubloc_network = 'zot6' limit 1",
+ $signer = 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($a['signature']['signer'])
);
@@ -2002,7 +2002,7 @@ class Libzot {
continue;
}
- $r = q("select hubloc_hash, hubloc_network from hubloc where hubloc_id_url = '%s'",
+ $r = q("select hubloc_hash, hubloc_network from hubloc where hubloc_id_url = '%s' order by hubloc_id desc",
dbesc($AS->actor['id'])
);