Skip to:
Content

BuddyPress.org

Changeset 3597


Ignore:
Timestamp:
12/28/2010 02:32:54 PM (15 years ago)
Author:
boonebgorges
Message:

Fixes PHP warning in BP_Group_Extension class

File:
1 edited

Legend:

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

    r3593 r3597  
    11621162
    11631163            // Catch the edit screen and forward it to the plugin template
    1164             if ( $bp->current_component == $bp->groups->slug && 'admin' == $bp->current_action && $this->slug == $bp->action_variables[0] ) {
     1164            if ( $bp->current_component == $bp->groups->slug && 'admin' == $bp->current_action && !empty( $bp->action_variables[0] ) && $this->slug == $bp->action_variables[0] ) {
    11651165                add_action( 'wp', array( &$this, 'edit_screen_save' ) );
    11661166                add_action( 'groups_custom_edit_steps', array( &$this, 'edit_screen' ) );
Note: See TracChangeset for help on using the changeset viewer.