diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-04-09 14:28:41 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-04-09 14:28:41 +0200 |
commit | 04935f139d924514b066a3cbe3a544102090de59 (patch) | |
tree | 116cbb9bff65d5a776d913cefc25bd5ad0c6f09b /include/text.php | |
parent | 52284623631515b5e0792074f5334c67e6158ec5 (diff) | |
download | volse-hubzilla-04935f139d924514b066a3cbe3a544102090de59.tar.gz volse-hubzilla-04935f139d924514b066a3cbe3a544102090de59.tar.bz2 volse-hubzilla-04935f139d924514b066a3cbe3a544102090de59.zip |
fix xchan_query() for anon comments
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php index 255d02c7c..13c4bb819 100644 --- a/include/text.php +++ b/include/text.php @@ -2251,7 +2251,7 @@ function xchan_query(&$items, $abook = true, $effective_uid = 0) { $chans = q("select xchan.*,hubloc.* from xchan left join hubloc on hubloc_hash = xchan_hash where xchan_hash in (" . protect_sprintf(implode(',', $arr)) . ") and hubloc_primary = 1"); } - $xchans = q("select * from xchan where xchan_hash in (" . protect_sprintf(implode(',',$arr)) . ") and xchan_network in ('rss','unknown')"); + $xchans = q("select * from xchan where xchan_hash in (" . protect_sprintf(implode(',',$arr)) . ") and xchan_network in ('rss','unknown', 'anon')"); if(! $chans) $chans = $xchans; else |