Skip to:
Content

BuddyPress.org

Changeset 7351


Ignore:
Timestamp:
08/19/2013 06:28:25 PM (11 years ago)
Author:
johnjamesjacoby
Message:

Cleaner E_STRICT dodging approach than what was introduced in r7350. See #5108.

File:
1 edited

Legend:

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

    r7350 r7351  
    4343
    4444        $reset_steps = true;
    45         $step        = array_keys( $bp->groups->group_creation_steps );
    46         $redirect_to = bp_get_root_domain() . '/' . bp_get_groups_root_slug() . '/create/step/' . $step[0] . '/';
    47         bp_core_redirect( $redirect_to );
     45        $keys        = array_keys( $bp->groups->group_creation_steps );
     46        bp_core_redirect( bp_get_root_domain() . '/' . bp_get_groups_root_slug() . '/create/step/' . array_shift( $keys ) . '/' );
    4847    }
    4948
Note: See TracChangeset for help on using the changeset viewer.