aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-08-27 20:29:30 +0000
committerMario <mario@mariovavti.com>2023-08-27 20:29:30 +0000
commit1426b7a6dc56250bc528c21028975ac9d68a2d95 (patch)
tree085e6849042ac6c9dd05946f040f982ef46c4360 /include
parentbc9d8d113647bdb88044550db8d1bb5c60ba2060 (diff)
downloadvolse-hubzilla-1426b7a6dc56250bc528c21028975ac9d68a2d95.tar.gz
volse-hubzilla-1426b7a6dc56250bc528c21028975ac9d68a2d95.tar.bz2
volse-hubzilla-1426b7a6dc56250bc528c21028975ac9d68a2d95.zip
order by hubloc_id like everywhere else for this reason and do not include deleted hublocs
Diffstat (limited to 'include')
-rw-r--r--include/channel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/channel.php b/include/channel.php
index 2e8aefaaa..50cd77d6c 100644
--- a/include/channel.php
+++ b/include/channel.php
@@ -1937,7 +1937,7 @@ function zid_init() {
call_hooks('zid_init', $arr);
if(! local_channel()) {
- $r = q("select hubloc_url, hubloc_hash, hubloc_network from hubloc where hubloc_addr = '%s' order by hubloc_connected desc",
+ $r = q("select hubloc_url, hubloc_hash, hubloc_network from hubloc where hubloc_addr = '%s' and hubloc_deleted = 0 order by hubloc_id desc",
dbesc($tmp_str)
);
if(! $r) {