Changeset 3597
- Timestamp:
- 12/28/2010 02:32:54 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/bp-groups/bp-groups-classes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-classes.php
r3593 r3597 1162 1162 1163 1163 // 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] ) { 1165 1165 add_action( 'wp', array( &$this, 'edit_screen_save' ) ); 1166 1166 add_action( 'groups_custom_edit_steps', array( &$this, 'edit_screen' ) );
Note: See TracChangeset
for help on using the changeset viewer.