aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-06-02 22:42:20 +0200
committerMario Vavti <mario@mariovavti.com>2018-06-02 22:42:20 +0200
commita32626e489bb2d07c77b76c62b8670ba0b1d0569 (patch)
treeca93bb5d0b6c2f1fbb4c07dd8dcb78071780ec48 /include
parent3a9f149c803fa237a0412728f9e6f92e3b28bb04 (diff)
downloadvolse-hubzilla-a32626e489bb2d07c77b76c62b8670ba0b1d0569.tar.gz
volse-hubzilla-a32626e489bb2d07c77b76c62b8670ba0b1d0569.tar.bz2
volse-hubzilla-a32626e489bb2d07c77b76c62b8670ba0b1d0569.zip
add the archived flag
Diffstat (limited to 'include')
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 7c519eb64..ca5a3834f 100644
--- a/include/text.php
+++ b/include/text.php
@@ -3369,7 +3369,7 @@ function get_forum_channels($uid) {
$sql_extra = (($xf) ? " and ( xchan_hash in (" . $xf . ") or xchan_pubforum = 1 ) " : " and xchan_pubforum = 1 ");
- $r = 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",
+ $r = 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",
intval($uid)
);