aboutsummaryrefslogtreecommitdiffstats
path: root/include/contact_widgets.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-07-27 13:44:12 -0700
committerfriendica <info@friendica.com>2014-07-27 13:44:12 -0700
commit73a0d8b5a7079e960717c46014b9255e16356ad2 (patch)
tree806efe13947ee375a56119da5933aad5741bc2cc /include/contact_widgets.php
parent3d7d6ec21f1b348221ad6f25d9865213339a6b47 (diff)
downloadvolse-hubzilla-73a0d8b5a7079e960717c46014b9255e16356ad2.tar.gz
volse-hubzilla-73a0d8b5a7079e960717c46014b9255e16356ad2.tar.bz2
volse-hubzilla-73a0d8b5a7079e960717c46014b9255e16356ad2.zip
restrict categories list to items that aren't deleted
Diffstat (limited to 'include/contact_widgets.php')
-rw-r--r--include/contact_widgets.php1
1 files changed, 1 insertions, 0 deletions
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),