aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Forums.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-05-31 16:17:24 -0700
committerMario <mario@mariovavti.com>2018-06-08 08:37:13 +0200
commitac8f798e56acab73d6d3f4545a75b21669c9f565 (patch)
tree70d4e23c6e8857ec3a049cc71e8ef5dcef21fa89 /Zotlabs/Widget/Forums.php
parent5c8ec5cce44648a7a5ff1dcf658ebd658f3fea0a (diff)
downloadvolse-hubzilla-ac8f798e56acab73d6d3f4545a75b21669c9f565.tar.gz
volse-hubzilla-ac8f798e56acab73d6d3f4545a75b21669c9f565.tar.bz2
volse-hubzilla-ac8f798e56acab73d6d3f4545a75b21669c9f565.zip
don't show forums in forum widget if archived flag is set
(cherry picked from commit 7c05500392aea9d992919e1791c1557dd2f49424)
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())
);