Skip to:
Content

BuddyPress.org

Changeset 4572


Ignore:
Timestamp:
06/27/2011 06:38:43 PM (13 years ago)
Author:
djpaul
Message:

Fix forums directory not working when it has parent page(s). Fixes #3305

File:
1 edited

Legend:

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

    r4501 r4572  
    11<?php
     2function bp_forums_directory_forums_setup() {
     3    global $bp;
    24
    3 function bp_forums_directory_forums_setup() {
    4     global $bp, $bp_unfiltered_uri;
    5 
    6     if ( bp_is_forums_component() && !isset( $bp_unfiltered_uri[1] ) && ( !bp_current_action() || 'tag' == bp_current_action() ) && !bp_current_item() ) {
     5    if ( bp_is_forums_component() && ( !bp_current_action() || ( 'tag' == bp_current_action() && bp_action_variables() ) ) && !bp_current_item() ) {
    76        if ( bp_forum_directory_is_disabled() )
    87            return false;
Note: See TracChangeset for help on using the changeset viewer.