Skip to:
Content

BuddyPress.org

Changeset 3959


Ignore:
Timestamp:
01/27/2011 10:48:16 PM (15 years ago)
Author:
johnjamesjacoby
Message:

Use correct _is_ component check in bp_forums_directory_forums_setup

File:
1 edited

Legend:

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

    r3933 r3959  
    44    global $bp;
    55
    6     if ( bp_is_groups_component() && !bp_current_action() && !bp_current_item() ) {
    7         if ( bp_forum_directory_is_disabled() || !bp_is_active( 'groups' ) )
     6    if ( bp_is_forums_component() && !bp_current_action() && !bp_current_item() ) {
     7        if ( bp_forum_directory_is_disabled() )
    88            return false;
    99
Note: See TracChangeset for help on using the changeset viewer.