]> git.mxchange.org Git - friendica.git/commitdiff
vier: include private forums in forum widget
authorrabuzarus <>
Thu, 29 Oct 2015 14:34:55 +0000 (15:34 +0100)
committerrabuzarus <>
Thu, 29 Oct 2015 14:34:55 +0000 (15:34 +0100)
view/theme/vier/theme.php

index 49d92b93b5d66536c9fd31e35077b56ff0589a36..51e1e36f62d5ab93b1b57e5fe4963249e548c40b 100644 (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`