From 73a0d8b5a7079e960717c46014b9255e16356ad2 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 27 Jul 2014 13:44:12 -0700 Subject: restrict categories list to items that aren't deleted --- include/contact_widgets.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/contact_widgets.php b/include/contact_widgets.php index 758b7291b..bccf8b4ae 100644 --- a/include/contact_widgets.php +++ b/include/contact_widgets.php @@ -79,6 +79,7 @@ function categories_widget($baseurl,$selected = '') { and term.uid = item.uid and term.type = %d and item.author_xchan = '%s' + and item.restrict = 0 order by term.term asc", intval($a->profile['profile_uid']), intval(TERM_CATEGORY), -- cgit v1.2.3