Skip to:
Content

BuddyPress.org

Changeset 4316


Ignore:
Timestamp:
04/30/2011 04:27:58 PM (14 years ago)
Author:
djpaul
Message:

Stop groups_screen_group_activity_permalink() being greedy when activity stream is disabled. Fixes #3186

File:
1 edited

Legend:

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

    r4287 r4316  
    424424    global $bp;
    425425
    426     if ( !bp_is_groups_component() || ( bp_is_active( 'activity' ) && !bp_is_current_action( $bp->activity->slug ) ) || empty( $bp->action_variables[0] ) )
     426    if ( !bp_is_groups_component() || !bp_is_active( 'activity' ) || ( bp_is_active( 'activity' ) && !bp_is_current_action( $bp->activity->slug ) ) || empty( $bp->action_variables[0] ) )
    427427        return false;
    428428
Note: See TracChangeset for help on using the changeset viewer.