Merge pull request #1997 from rabuzarus/2910_vier_fix_forums
vier: include private forums in forum widget
This commit is contained in:
commit
f283ae143a
|
@ -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`
|
||||
|
|
Loading…
Reference in a new issue