Changeset 1783
- Timestamp:
- 09/03/2009 07:34:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups.php
r1779 r1783 383 383 function groups_screen_create_group() { 384 384 global $bp; 385 386 error_log( $bp->action_variables[0] );387 error_log( $bp->action_variables[1] );388 385 389 386 /* If no current step is set, reset everything so we can start a fresh group creation */ … … 397 394 398 395 $reset_steps = true; 399 //bp_core_redirect( $bp->loggedin_user->domain . $bp->groups->slug . '/create/step/' . array_shift( array_keys( $bp->groups->group_creation_steps ) ) );396 bp_core_redirect( $bp->loggedin_user->domain . $bp->groups->slug . '/create/step/' . array_shift( array_keys( $bp->groups->group_creation_steps ) ) ); 400 397 } 401 398 … … 403 400 if ( $bp->action_variables[1] && !$bp->groups->group_creation_steps[$bp->action_variables[1]] ) { 404 401 bp_core_add_message( __('There was an error saving group details. Please try again.', 'buddypress'), 'error' ); 405 //bp_core_redirect( $bp->loggedin_user->domain . $bp->groups->slug . '/create' );402 bp_core_redirect( $bp->loggedin_user->domain . $bp->groups->slug . '/create' ); 406 403 } 407 404
Note: See TracChangeset
for help on using the changeset viewer.