Skip to:
Content

BuddyPress.org


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

Breathing room for cast variables.

File:
1 edited

Legend:

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

    r5714 r5729  
    236236        global $bp;
    237237
    238         return in_array( $status, (array)$bp->groups->valid_status );
     238        return in_array( $status, (array) $bp->groups->valid_status );
    239239}
    240240
    … …  
    245245                $slug = substr( $slug, 2, strlen( $slug ) - 2 );
    246246
    247         if ( in_array( $slug, (array)$bp->groups->forbidden_names ) )
     247        if ( in_array( $slug, (array) $bp->groups->forbidden_names ) )
    248248                $slug = $slug . '-' . rand();
    249249
    … …  
    927927        }
    928928
    929         $metas = array_map( 'maybe_unserialize', (array)$metas );
     929        $metas = array_map( 'maybe_unserialize', (array) $metas );
    930930
    931931        if ( 1 == count( $metas ) )
Note: See TracChangeset for help on using the changeset viewer.