aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-01-04 09:01:44 +0000
committerMario <mario@mariovavti.com>2023-01-04 09:01:44 +0000
commit941135a0a63d72d6300ab93a608cd5c8354d9e0a (patch)
tree38e078945342529f7c58c5ab5fe0ace11368b8e6
parent29776ecea2a38eb45f9e0628b1b674c1d7d0df93 (diff)
downloadvolse-hubzilla-941135a0a63d72d6300ab93a608cd5c8354d9e0a.tar.gz
volse-hubzilla-941135a0a63d72d6300ab93a608cd5c8354d9e0a.tar.bz2
volse-hubzilla-941135a0a63d72d6300ab93a608cd5c8354d9e0a.zip
we should look for owner_xchan just like in mod pubstream
-rw-r--r--include/taxonomy.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/taxonomy.php b/include/taxonomy.php
index 18cc39cd9..671f96c2e 100644
--- a/include/taxonomy.php
+++ b/include/taxonomy.php
@@ -336,13 +336,13 @@ function pub_tagadelic($net, $site, $limit, $recent, $safemode, $type) {
$item_normal = item_normal();
$count = intval($limit);
$sys = get_sys_channel();
- $uids = " and item.uid = " . intval($sys['channel_id']) . " ";
+ $uids = " and item.uid = " . intval($sys['channel_id']) . " ";
$sql_extra = item_permissions_sql($sys['channel_id']);
$site_firehose_sql = '';
if ($site) {
- $site_firehose_sql = " and author_xchan in (select channel_hash from channel where channel_system = 0 and channel_removed = 0) ";
+ $site_firehose_sql = " and owner_xchan in (select channel_hash from channel where channel_system = 0 and channel_removed = 0) ";
}
if($recent) {