Skip to:
Content

BuddyPress.org

Changeset 1783


Ignore:
Timestamp:
09/03/2009 07:34:39 PM (15 years ago)
Author:
apeatling
Message:

Fixes #931

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups.php

    r1779 r1783  
    383383function groups_screen_create_group() {
    384384    global $bp;
    385    
    386     error_log( $bp->action_variables[0] );
    387     error_log( $bp->action_variables[1] );
    388385
    389386    /* If no current step is set, reset everything so we can start a fresh group creation */
     
    397394       
    398395        $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 )  ) );
    400397    }
    401398   
     
    403400    if ( $bp->action_variables[1] && !$bp->groups->group_creation_steps[$bp->action_variables[1]] ) {
    404401        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' );
    406403    }
    407404
Note: See TracChangeset for help on using the changeset viewer.