aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Forums.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-05-31 16:17:24 -0700
committerzotlabs <mike@macgirvin.com>2018-05-31 16:17:24 -0700
commit7c05500392aea9d992919e1791c1557dd2f49424 (patch)
treecedaa0c2c98c54fe15ec321cccd0d8a09bc87d6e /Zotlabs/Widget/Forums.php
parent5d83469621facf89884ada4036bd25b7b566b616 (diff)
downloadvolse-hubzilla-7c05500392aea9d992919e1791c1557dd2f49424.tar.gz
volse-hubzilla-7c05500392aea9d992919e1791c1557dd2f49424.tar.bz2
volse-hubzilla-7c05500392aea9d992919e1791c1557dd2f49424.zip
don't show forums in forum widget if archived flag is set
Diffstat (limited to 'Zotlabs/Widget/Forums.php')
-rw-r--r--Zotlabs/Widget/Forums.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Widget/Forums.php b/Zotlabs/Widget/Forums.php
index 7415c0f0a..d3e2f2534 100644
--- a/Zotlabs/Widget/Forums.php
+++ b/Zotlabs/Widget/Forums.php
@@ -51,7 +51,7 @@ class Forums {
- $r1 = q("select abook_id, xchan_hash, xchan_name, xchan_url, xchan_photo_s from abook left join xchan on abook_xchan = xchan_hash where xchan_deleted = 0 and abook_channel = %d and abook_pending = 0 and abook_ignored = 0 and abook_blocked = 0 $sql_extra order by xchan_name $limit ",
+ $r1 = q("select abook_id, xchan_hash, xchan_name, xchan_url, xchan_photo_s from abook left join xchan on abook_xchan = xchan_hash where xchan_deleted = 0 and abook_channel = %d and abook_pending = 0 and abook_ignored = 0 and abook_blocked = 0 and abook_archived = 0 $sql_extra order by xchan_name $limit ",
intval(local_channel())
);