Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/11/2012 09:32:04 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Breathing room for cast variables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-catchuri.php

    r5683 r5729  
    6868
    6969    // Loop and remove empties
    70     foreach ( (array)$bp_uri as $key => $uri_chunk ) {
     70    foreach ( (array) $bp_uri as $key => $uri_chunk ) {
    7171        if ( empty( $bp_uri[$key] ) ) {
    7272            unset( $bp_uri[$key] );
     
    555555                   
    556556        if ( !empty( $bp->redirect_stack['action_variables'] ) ) {
    557             foreach( (array)$bp->redirect_stack['action_variables'] as $av ) {
     557            foreach( (array) $bp->redirect_stack['action_variables'] as $av ) {
    558558                $url_stack[0] = trailingslashit( $url_stack[0] . $av );
    559559            }
Note: See TracChangeset for help on using the changeset viewer.