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-template.php

    r5705 r5729  
    4040
    4141    // Loop through each navigation item
    42     foreach ( (array)$bp->bp_options_nav[$the_index] as $subnav_item ) {
     42    foreach ( (array) $bp->bp_options_nav[$the_index] as $subnav_item ) {
    4343        if ( !$subnav_item['user_has_access'] )
    4444            continue;
     
    273273
    274274    $options = apply_filters( 'bp_search_form_type_select_options', $options );
    275     foreach( (array)$options as $option_value => $option_title )
     275    foreach( (array) $options as $option_value => $option_title )
    276276        $selection_box .= sprintf( '<option value="%s">%s</option>', $option_value, $option_title );
    277277
Note: See TracChangeset for help on using the changeset viewer.