Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/07/2010 12:20:02 AM (14 years ago)
Author:
djpaul
Message:

Fixes even more WP_DEBUG warnings.

File:
1 edited

Legend:

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

    r3300 r3369  
    6666
    6767    /* Only filter the forum SQL on group pages or on the forums directory */
    68     if ( ( $bp->groups->current_group && 'public' == $bp->groups->current_group->status ) || !$bp->groups->current_group ) {
     68    if ( ( isset( $bp->groups->current_group ) && 'public' == $bp->groups->current_group->status ) || ( !isset( $bp->groups->current_group ) || !$bp->groups->current_group ) ) {
    6969        add_filter( 'get_topics_fields', 'groups_add_forum_fields_sql' );
    7070        add_filter( 'get_topics_index_hint', 'groups_add_forum_tables_sql' );
Note: See TracChangeset for help on using the changeset viewer.