Bugfix: The value for "global community" wasn't read.
This commit is contained in:
parent
c0411ae25a
commit
e7b2c5dbf3
1 changed files with 1 additions and 2 deletions
|
@ -113,8 +113,7 @@ function community_content(&$a, $update = 0) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function community_getitems($start, $itemspage) {
|
function community_getitems($start, $itemspage) {
|
||||||
// Work in progress
|
if (get_config('system','community_page_style') == CP_GLOBAL_COMMUNITY)
|
||||||
if (get_config('system', 'global_community'))
|
|
||||||
return(community_getpublicitems($start, $itemspage));
|
return(community_getpublicitems($start, $itemspage));
|
||||||
|
|
||||||
$r = q("SELECT `item`.`uri`, `item`.*, `item`.`id` AS `item_id`,
|
$r = q("SELECT `item`.`uri`, `item`.*, `item`.`id` AS `item_id`,
|
||||||
|
|
Loading…
Reference in a new issue