more message restrict conversions
This commit is contained in:
@@ -116,7 +116,7 @@ function tagadelic($uid, $count = 0, $authors = '', $flags = 0, $restrict = 0, $
|
||||
// Fetch tags
|
||||
$r = q("select term, count(term) as total from term left join item on term.oid = item.id
|
||||
where term.uid = %d and term.type = %d
|
||||
and otype = %d and item_restrict = %d and item_private = 0
|
||||
and otype = %d and item_type = %d and item_private = 0
|
||||
$sql_options
|
||||
group by term order by total desc %s",
|
||||
intval($uid),
|
||||
|
||||
Reference in New Issue
Block a user