1
0
Fork 0

Merge pull request #1997 from rabuzarus/2910_vier_fix_forums

vier: include private forums in forum widget
This commit is contained in:
fabrixxm 2015-10-29 16:02:17 +01:00
commit f283ae143a

View file

@ -195,7 +195,7 @@ function vier_community_info() {
$pagelist = array();
$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 `archive` AND NOT `pending` AND
`success_update` > `failure_update`