From e7b2c5dbf38343964a6d728bd62f2ced9505b444 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Mon, 9 Feb 2015 08:25:12 +0100 Subject: [PATCH] Bugfix: The value for "global community" wasn't read. --- mod/community.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mod/community.php b/mod/community.php index a32b0d7ac9..3f0adff04f 100644 --- a/mod/community.php +++ b/mod/community.php @@ -113,8 +113,7 @@ function community_content(&$a, $update = 0) { } function community_getitems($start, $itemspage) { - // Work in progress - if (get_config('system', 'global_community')) + if (get_config('system','community_page_style') == CP_GLOBAL_COMMUNITY) return(community_getpublicitems($start, $itemspage)); $r = q("SELECT `item`.`uri`, `item`.*, `item`.`id` AS `item_id`, -- 2.39.5