Skip to:
Content

BuddyPress.org

Changeset 2026


Ignore:
Timestamp:
10/02/2009 10:24:22 PM (14 years ago)
Author:
apeatling
Message:

Fixes #1149

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-filters.php

    r1974 r2026  
    6363   
    6464    /* Only filter the forum SQL on group pages or on the forums directory */
    65     if ( $bp->groups->current_group || bp_is_directory() ) {
     65    if ( ( $bp->groups->current_group && 'public' == $bp->groups->current_group->status ) || bp_is_directory() ) {
    6666        add_filter( 'get_topics_fields', 'groups_add_forum_fields_sql' );
    6767        add_filter( 'get_topics_index_hint', 'groups_add_forum_tables_sql' );
Note: See TracChangeset for help on using the changeset viewer.