Skip to:
Content

BuddyPress.org


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

Fixes even more WP_DEBUG warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums/bp-forums-templatetags.php

    r3308 r3369  
    177177
    178178    /* If we're in a single group, set this group's forum_id */
    179     if ( !$forum_id && $bp->groups->current_group ) {
     179    if ( !$forum_id && isset( $bp->groups->current_group ) ) {
    180180        $bp->groups->current_group->forum_id = groups_get_groupmeta( $bp->groups->current_group->id, 'forum_id' );
    181181
     
    192192
    193193    /* Show stickies on a group forum */
    194     if ( $bp->groups->current_group )
     194    if ( isset( $bp->groups->current_group ) )
    195195        $no_stickies = null;
    196196
Note: See TracChangeset for help on using the changeset viewer.