aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--include/contact_widgets.php1
-rw-r--r--version.inc2
2 files changed, 2 insertions, 1 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),
diff --git a/version.inc b/version.inc
index ac8053138..01b823681 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2014-07-26.748
+2014-07-27.749