aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-03-01 15:01:48 -0800
committerredmatrix <git@macgirvin.com>2016-03-01 15:01:48 -0800
commita0baa480e3968306c8ebc297a60f84b4d2ccf8c9 (patch)
treeca44fa4c8dcedfe599bbd50566241fbb1753faad /include
parent765dd5569b9ce2f18ac9974123d96452d0d19926 (diff)
parent8b61e546fe488516fa3c5f37df80a68e346b84a9 (diff)
downloadvolse-hubzilla-a0baa480e3968306c8ebc297a60f84b4d2ccf8c9.tar.gz
volse-hubzilla-a0baa480e3968306c8ebc297a60f84b4d2ccf8c9.tar.bz2
volse-hubzilla-a0baa480e3968306c8ebc297a60f84b4d2ccf8c9.zip
Merge https://github.com/redmatrix/hubzilla into pending_merge
Diffstat (limited to 'include')
-rw-r--r--include/widgets.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/widgets.php b/include/widgets.php
index a995fdf1c..aa0be87d6 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -1197,7 +1197,7 @@ function widget_forums($arr) {
$perms_sql = item_permissions_sql(local_channel()) . item_normal();
- $r1 = q("select * from abook left join xchan on abook_xchan = xchan_hash where ( xchan_pubforum = 1 or ((abook_their_perms & %d ) != 0 and (abook_their_perms & %d ) = 0) ) and abook_channel = %d order by xchan_name $limit ",
+ $r1 = q("select * from abook left join xchan on abook_xchan = xchan_hash where ( xchan_pubforum = 1 or ((abook_their_perms & %d ) != 0 and (abook_their_perms & %d ) = 0) ) and xchan_deleted = 0 and abook_channel = %d order by xchan_name $limit ",
intval(PERMS_W_TAGWALL),
intval(PERMS_W_STREAM),
intval(local_channel())