restrict categories list to items that aren't deleted
This commit is contained in:
@@ -79,6 +79,7 @@ function categories_widget($baseurl,$selected = '') {
|
|||||||
and term.uid = item.uid
|
and term.uid = item.uid
|
||||||
and term.type = %d
|
and term.type = %d
|
||||||
and item.author_xchan = '%s'
|
and item.author_xchan = '%s'
|
||||||
|
and item.restrict = 0
|
||||||
order by term.term asc",
|
order by term.term asc",
|
||||||
intval($a->profile['profile_uid']),
|
intval($a->profile['profile_uid']),
|
||||||
intval(TERM_CATEGORY),
|
intval(TERM_CATEGORY),
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
2014-07-26.748
|
2014-07-27.749
|
||||||
|
|||||||
Reference in New Issue
Block a user