Bugfix: The value for "global community" wasn't read.

pull/1376/head
Michael Vogel 2015-02-09 08:25:12 +01:00
rodzic c0411ae25a
commit e7b2c5dbf3
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -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`,