vier: include private forums in forum widget

This commit is contained in:
rabuzarus 2015-10-29 15:34:55 +01:00
parent fb4adc83dc
commit f0f3360c4b

View file

@ -195,7 +195,7 @@ function vier_community_info() {
$pagelist = array(); $pagelist = array();
$contacts = q("SELECT `id`, `url`, `name`, `micro` FROM `contact` $contacts = q("SELECT `id`, `url`, `name`, `micro` FROM `contact`
WHERE `network`= '%s' AND `forum` AND `uid` = %d AND WHERE `network`= '%s' AND `uid` = %d AND (`forum` OR `prv`) AND
NOT `hidden` AND NOT `blocked` AND NOT `hidden` AND NOT `blocked` AND
NOT `archive` AND NOT `pending` AND NOT `archive` AND NOT `pending` AND
`success_update` > `failure_update` `success_update` > `failure_update`