aboutsummaryrefslogtreecommitdiffstats
path: root/include/taxonomy.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/taxonomy.php')
-rw-r--r--include/taxonomy.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/taxonomy.php b/include/taxonomy.php
index f65cdd941..46d95458c 100644
--- a/include/taxonomy.php
+++ b/include/taxonomy.php
@@ -312,7 +312,8 @@ function article_tagadelic($uid, $count = 0, $authors = '', $owner = '', $flags
function pubtagblock($net,$site,$limit,$recent = 0,$safemode = 1, $type = TERM_HASHTAG) {
$o = '';
- $r = pub_tagadelic($net,$site,$limit,$since,$safemode,$type);
+ $r = pub_tagadelic($net,$site,$limit,$recent,$safemode,$type);
+
$link = z_root() . '/pubstream';
if($r) {
@@ -338,7 +339,7 @@ function pub_tagadelic($net,$site,$limit,$recent,$safemode,$type) {
else {
$sys = get_sys_channel();
$uids = " and item.uid = " . intval($sys['channel_id']) . " ";
- $sql_extra = item_permissions_sql($sys['channel_id']);
+ $sql_extra = " and item_private = 0 ";
}
if($recent)