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