Skip to:
Content

BuddyPress.org


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

Breathing room for cast variables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-blogs/bp-blogs-buddybar.php

    r5704 r5729  
    3737
    3838    $counter = 0;
    39     if ( is_array( $blogs['blogs'] ) && (int)$blogs['count'] ) {
     39    if ( is_array( $blogs['blogs'] ) && (int) $blogs['count'] ) {
    4040
    4141        echo '<li id="bp-adminbar-blogs-menu"><a href="' . trailingslashit( bp_loggedin_user_domain() . bp_get_blogs_slug() ) . '">';
     
    4646        echo '<ul>';
    4747
    48         foreach ( (array)$blogs['blogs'] as $blog ) {
     48        foreach ( (array) $blogs['blogs'] as $blog ) {
    4949            $alt      = ( 0 == $counter % 2 ) ? ' class="alt"' : '';
    5050            $site_url = esc_attr( $blog->siteurl );
Note: See TracChangeset for help on using the changeset viewer.