]> git.mxchange.org Git - friendica.git/commitdiff
Bugfix: The value for "global community" wasn't read.
authorMichael Vogel <icarus@dabo.de>
Mon, 9 Feb 2015 07:25:12 +0000 (08:25 +0100)
committerMichael Vogel <icarus@dabo.de>
Mon, 9 Feb 2015 07:25:12 +0000 (08:25 +0100)
mod/community.php

index a32b0d7ac982c9f25d4dcae846f86adf4fd9c372..3f0adff04fde219f2c25651dd8f23b1041d018e8 100644 (file)
@@ -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`,