aboutsummaryrefslogtreecommitdiffstats
path: root/include/widgets.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-03-02 12:31:46 +0100
committerMario Vavti <mario@mariovavti.com>2016-03-02 12:31:46 +0100
commit22729da2a2a3ef71b4c5f00f15e254bddecedd91 (patch)
treefe6ae53abea2ed9dffb1c49f9e8683691c24004d /include/widgets.php
parentc97cc1487cbcac2c4fbc4d9e931a82df109af2e6 (diff)
parent428b4dbad63d429c3b0d47b49ff5918dbda3c596 (diff)
downloadvolse-hubzilla-22729da2a2a3ef71b4c5f00f15e254bddecedd91.tar.gz
volse-hubzilla-22729da2a2a3ef71b4c5f00f15e254bddecedd91.tar.bz2
volse-hubzilla-22729da2a2a3ef71b4c5f00f15e254bddecedd91.zip
Merge branch 'master' of https://github.com/redmatrix/hubzilla
Diffstat (limited to 'include/widgets.php')
-rw-r--r--include/widgets.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/widgets.php b/include/widgets.php
index 05b9eca1a..3b8a5a7a3 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())